Changeset 95924 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Jul 28, 2022 10:46:52 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/zip/zip.cpp
r95807 r95924 32 32 #define RTZIP_USE_ZLIB 1 33 33 //#define RTZIP_USE_BZLIB 1 34 #if ndef IN_GUEST34 #if !defined(IN_GUEST) && !defined(IPRT_NO_CRT) 35 35 # define RTZIP_USE_LZF 1 36 36 #endif … … 1173 1173 if (cbOutput != cbUncompressed) 1174 1174 { 1175 # ifndef IPRT_NO_CRT /* no errno */ 1175 1176 AssertMsgFailed(("Decompression error, errno=%d. cbOutput=%#x cbUncompressed=%#x\n", 1176 1177 errno, cbOutput, cbUncompressed)); 1178 # endif 1177 1179 return VERR_GENERAL_FAILURE; /** @todo Get better error codes for RTZip! */ 1178 1180 } … … 1186 1188 if (cbOutput != cbUncompressed) 1187 1189 { 1190 # ifndef IPRT_NO_CRT /* no errno */ 1188 1191 AssertMsgFailed(("Decompression error, errno=%d. cbOutput=%#x cbUncompressed=%#x\n", 1189 1192 errno, cbOutput, cbUncompressed)); 1193 # endif 1190 1194 return VERR_GENERAL_FAILURE; /** @todo Get better error codes for RTZip! */ 1191 1195 } … … 1858 1862 if (RT_UNLIKELY(cbDstActual < 1)) 1859 1863 { 1864 # ifndef IPRT_NO_CRT /* no errno */ 1860 1865 if (errno == E2BIG) 1861 1866 return VERR_BUFFER_OVERFLOW; 1862 1867 Assert(errno == EINVAL); 1868 # endif 1863 1869 return VERR_GENERAL_FAILURE; 1864 1870 }
Note:
See TracChangeset
for help on using the changeset viewer.