* 7-Zip now supports LZMA2 compression method. * 7-Zip now can update solid .7z archives. * 7-Zip now supports XZ archives. * 7-Zip now supports PPMd compression in ZIP archives. * 7-Zip now can unpack NTFS, FAT, VHD, MBR, APM, SquashFS, CramFS, MSLZ archives. * 7-Zip now can unpack GZip, BZip2, LZMA, XZ and TAR archives from stdin. * 7-Zip now can unpack some TAR and ISO archives with incorrect headers. * 7-Zip now supports files that are larger than 8 GB in TAR archives. * NSIS and WIM support was improved. * Partial parsing for EXE resources, SWF and FLV. * The support for archives in installers was improved. * 7-Zip now can stores NTFS file timestamps to ZIP archives. * Speed optimizations in PPMd codec. * Speed optimizations in CRC calculation code for Intel's Atom CPUs. * New -scrc switch to calculate total CRC-32 during extracting / testing. * 7-Zip File Manager now doesn't use temp files to open nested archives stored without compression. * Disk fragmentation problem for ZIP archives created by 7-Zip was fixed. * Some bugs were fixed. * New localizations: Hindi, Gujarati, Sanskrit, Tatar, Uyghur, Kazakh. * Not in p7zip : Speed optimizations in AES code for Intel's 32nm CPUs.
14 lines
425 B
Text
14 lines
425 B
Text
$NetBSD: patch-ab,v 1.11 2011/03/14 12:36:43 adam Exp $
|
|
|
|
--- CPP/Windows/FileFind.cpp.orig 2009-06-03 19:40:16.000000000 +0200
|
|
+++ CPP/Windows/FileFind.cpp
|
|
@@ -311,7 +311,8 @@ bool CFindFile::FindFirst(LPCSTR wildcar
|
|
}
|
|
|
|
TRACEN((printf("CFindFile::FindFirst : closedir-2(dirp=%p)\n",_dirp)))
|
|
- closedir(_dirp);
|
|
+ if (_dirp)
|
|
+ closedir(_dirp);
|
|
_dirp = 0;
|
|
SetLastError( ERROR_NO_MORE_FILES );
|
|
return false;
|