VirtualBox

Changeset 67849 in vbox


Ignore:
Timestamp:
Jul 7, 2017 12:40:49 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
116800
Message:

isomaker: Symlink fix and mode bit fix.

Location:
trunk/src/VBox/Runtime/common/fs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/fs/iso9660vfs.cpp

    r67774 r67849  
    800800
    801801/**
    802  * FAT file operations.
     802 * ISO FS file operations.
    803803 */
    804804DECL_HIDDEN_CONST(const RTVFSFILEOPS) g_rtFsIos9660FileOps =
  • trunk/src/VBox/Runtime/common/fs/isomaker.cpp

    r67848 r67849  
    51785178    pEntry->fFlags       = 0;
    51795179    size_t  offEntry = 0;
    5180     size_t  off      = pEntry->Hdr.cbEntry;
     5180    size_t  off      = RT_UOFFSETOF(ISO9660RRIPSL, abComponents);
    51815181
    51825182    /* Does it start with a root slash? */
     
    53785378            pPX->Hdr.cbEntry    = ISO9660RRIPPX_LEN;
    53795379            pPX->Hdr.bVersion   = ISO9660RRIPPX_VER;
    5380             pPX->fMode.be       = RT_H2BE_U32((uint32_t)pName->fMode);
    5381             pPX->fMode.le       = RT_H2LE_U32((uint32_t)pName->fMode);
     5380            pPX->fMode.be       = RT_H2BE_U32((uint32_t)(pName->fMode & RTFS_UNIX_MASK));
     5381            pPX->fMode.le       = RT_H2LE_U32((uint32_t)(pName->fMode & RTFS_UNIX_MASK));
    53825382            pPX->cHardlinks.be  = RT_H2BE_U32((uint32_t)pName->cHardlinks);
    53835383            pPX->cHardlinks.le  = RT_H2LE_U32((uint32_t)pName->cHardlinks);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette