Changeset 49320 in vbox for trunk/src/VBox/Runtime/tools
- Timestamp:
- Oct 29, 2013 12:39:25 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/tools/RTGzip.cpp
r47359 r49320 138 138 139 139 int rc = RTVfsIoStrmFlush(*phVfsDst); 140 if (RT_FAILURE(rc) )140 if (RT_FAILURE(rc) && rc != VERR_INVALID_PARAMETER) 141 141 rcExit = RTMsgErrorExit(RTEXITCODE_FAILURE, "Failed to flush the output file: %Rrc", rc); 142 142 RTVfsIoStrmRelease(*phVfsDst); … … 208 208 * Attach the decompressor to the input stream. 209 209 */ 210 uint32_t fFlags = 0; 211 fFlags |= RTZIPGZIPDECOMP_F_ALLOW_ZLIB_HDR; 210 212 RTVFSIOSTREAM hVfsGunzip; 211 int rc = RTZipGzipDecompressIoStream(*phVfsSrc, 0 /*fFlags*/, &hVfsGunzip);213 int rc = RTZipGzipDecompressIoStream(*phVfsSrc, fFlags, &hVfsGunzip); 212 214 if (RT_FAILURE(rc)) 213 215 return RTMsgErrorExit(RTEXITCODE_FAILURE, "RTZipGzipDecompressIoStream failed: %Rrc", rc);
Note:
See TracChangeset
for help on using the changeset viewer.