Changeset 67454 in vbox for trunk/src/VBox/Runtime/common/fs/isomakercmd.cpp
- Timestamp:
- Jun 16, 2017 6:03:37 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 116187
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/fs/isomakercmd.cpp
r67445 r67454 1108 1108 pParsed->cNamesWithSrc++; 1109 1109 1110 if (!pszEqual && fWithSrc)1110 if (!pszEqual) 1111 1111 { 1112 if (!cchName) 1113 return rtFsIsoMakerCmdSyntaxError(pOpts, "empty source file name: %s", pszSpecIn); 1114 if (cchName == 8 && strcmp(pszSpec, ":remove:") == 0) 1115 pParsed->enmSrcType = RTFSISOMKCMDPARSEDNAMES::kSrcType_Remove; 1116 else if (cchName == 13 && strcmp(pszSpec, ":must-remove:") == 0) 1117 pParsed->enmSrcType = RTFSISOMKCMDPARSEDNAMES::kSrcType_MustRemove; 1112 if (fWithSrc) 1113 { 1114 if (!cchName) 1115 return rtFsIsoMakerCmdSyntaxError(pOpts, "empty source file name: %s", pszSpecIn); 1116 if (cchName == 8 && strcmp(pszSpec, ":remove:") == 0) 1117 pParsed->enmSrcType = RTFSISOMKCMDPARSEDNAMES::kSrcType_Remove; 1118 else if (cchName == 13 && strcmp(pszSpec, ":must-remove:") == 0) 1119 pParsed->enmSrcType = RTFSISOMKCMDPARSEDNAMES::kSrcType_MustRemove; 1120 } 1118 1121 break; 1119 1122 } … … 1901 1904 if (phVfsFile) 1902 1905 *phVfsFile = NIL_RTVFSFILE; 1906 for (uint32_t i = 0; i < RT_ELEMENTS(Opts.aBootCatEntries); i++) 1907 Opts.aBootCatEntries[i].u.Section.idxImageObj = UINT32_MAX; 1903 1908 1904 1909 /* Setup option parsing. */
Note:
See TracChangeset
for help on using the changeset viewer.