Changeset 86035 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Sep 6, 2020 8:31:16 PM (4 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r85875 r86035 682 682 common/vfs/vfsstdpipe.cpp \ 683 683 common/vfs/vfsprintf.cpp \ 684 common/zip/cpiovfs.cpp \ 684 685 common/zip/tar.cpp \ 685 686 common/zip/tarcmd.cpp \ -
trunk/src/VBox/Runtime/common/zip/tarcmd.cpp
r84761 r86035 75 75 RTZIPTARCMDFORMAT_TAR, 76 76 /** XAR. */ 77 RTZIPTARCMDFORMAT_XAR 77 RTZIPTARCMDFORMAT_XAR, 78 /** CPIO. */ 79 RTZIPTARCMDFORMAT_CPIO, 78 80 } RTZIPTARCMDFORMAT; 79 81 … … 818 820 rc = VERR_NOT_SUPPORTED; 819 821 #endif 822 else if (pOpts->enmFormat == RTZIPTARCMDFORMAT_CPIO) 823 rc = RTZipCpioFsStreamFromIoStream(hVfsIos, 0/*fFlags*/, phVfsFss); 820 824 else /** @todo make RTZipTarFsStreamFromIoStream fail if not tar file! */ 821 825 rc = RTZipTarFsStreamFromIoStream(hVfsIos, 0/*fFlags*/, phVfsFss); … … 1606 1610 " pax (tar POSIX.1-2001),\n" 1607 1611 " xar\n" 1608 " Note! Because XAR/TAR detection isn't implemented yet, it\n" 1612 " cpio\n" 1613 " Note! Because XAR/TAR/CPIO detection isn't implemented yet, it\n" 1609 1614 " is necessary to specifcy --format=xar when reading a\n" 1610 " XAR file. Otherwise this option is only for creation.\n" 1615 " XAR file or --format=cpio for a CPIO file.\n" 1616 " Otherwise this option is only for creation.\n" 1611 1617 "\n"); 1612 1618 RTPrintf("IPRT Options:\n" … … 1861 1867 else if (!strcmp(ValueUnion.psz, "xar")) 1862 1868 Opts.enmFormat = RTZIPTARCMDFORMAT_XAR; 1869 else if (!strcmp(ValueUnion.psz, "cpio")) 1870 Opts.enmFormat = RTZIPTARCMDFORMAT_CPIO; 1863 1871 else 1864 1872 return RTMsgErrorExit(RTEXITCODE_SYNTAX, "Unknown archive format: '%s'", ValueUnion.psz);
Note:
See TracChangeset
for help on using the changeset viewer.