VirtualBox

Changeset 67871 in vbox


Ignore:
Timestamp:
Jul 9, 2017 1:47:10 PM (8 years ago)
Author:
vboxsync
Message:

isomakercmd: Must ignore TRANS.TBL files too.

File:
1 edited

Legend:

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

    r67869 r67871  
    360360    /** @} */
    361361
     362    /** @name Filteringer
     363     * @{ */
     364    /** The trans.tbl filename when enabled.  We must not import these files. */
     365    const char         *pszTransTbl;
     366    /** @} */
     367
    362368    /** Number of items (files, directories, images, whatever) we've added. */
    363369    uint32_t            cItemsAdded;
     
    15811587static bool rtFsIsoMakerCmdIsFilteredOut(PRTFSISOMAKERCMDOPTS pOpts, const char *pszDir, const char *pszName, bool fIsDir)
    15821588{
     1589    /* Ignore trans.tbl files. */
     1590    if (   !fIsDir
     1591        && RTStrICmp(pszName, pOpts->pszTransTbl) == 0)
     1592        return true;
     1593
    15831594    RT_NOREF(pOpts, pszDir, pszName, fIsDir);
    15841595    return false;
     
    29342945    Opts.afNameSpecifiers[0]    = RTFSISOMAKERCMDNAME_MAJOR_MASK;
    29352946    Opts.fDstNamespaces         = RTFSISOMAKERCMDNAME_MAJOR_MASK;
     2947    Opts.pszTransTbl            = "TRANS.TBL"; /** @todo query this below */
    29362948    if (phVfsFile)
    29372949        *phVfsFile = NIL_RTVFSFILE;
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