VirtualBox

Changeset 69941 in vbox for trunk/src/VBox/Runtime/common/fs


Ignore:
Timestamp:
Dec 5, 2017 6:14:51 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
119438
Message:

isomaker.cpp: Set inode number to zero for now, to make solaris happy. bugref:9074

File:
1 edited

Legend:

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

    r69155 r69941  
    58235823            pPX->gid.be         = RT_H2BE_U32((uint32_t)pName->gid);
    58245824            pPX->gid.le         = RT_H2LE_U32((uint32_t)pName->gid);
     5825#if 0 /* This is confusing solaris.  Looks like it has code assuming inode numbers are block numbers and ends up mistaking files for the root dir.  Sigh. */
    58255826            pPX->INode.be       = RT_H2BE_U32((uint32_t)pName->pObj->idxObj + 1); /* Don't use zero - isoinfo doesn't like it. */
    58265827            pPX->INode.le       = RT_H2LE_U32((uint32_t)pName->pObj->idxObj + 1);
     5828#else
     5829            pPX->INode.be       = 0;
     5830            pPX->INode.le       = 0;
     5831#endif
    58275832            pbSys += sizeof(*pPX);
    58285833            cbSys -= sizeof(*pPX);
Note: See TracChangeset for help on using the changeset viewer.

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