Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: David Rothenberger MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="xhUisCoZnD" Content-Transfer-Encoding: 7bit Message-ID: <16165.33853.968862.592625@phish.entomo.com> Date: Mon, 28 Jul 2003 13:14:53 -0700 To: cygwin AT cygwin DOT com Subject: 1.5.1: unzip problems with binary files in archive Reply-To: cygwin AT cygwin DOT com --xhUisCoZnD Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit I'm getting a strange error from unzip when trying to extract an archive that contains binary files. Everything works fine if the archive contains just text files. This problem occurs with the 1.5.1 DLL and the latest test packages for zip and unzip. Everything works fine with 1.3.22. It also works okay with 1.5.1 and the Curr versions of zip/unzip. Simply recompiling the zip/unzip packages against the 1.5.1 DLL did not fix the problem. Here's what I did: ---------------------------------------------------------------------- $ cp /bin/ls.exe . $ zip tst.zip ls.exe adding: ls.exe (deflated 53%) $ rm ls.exe $ unzip tst.zip Archive: tst.zip error [tst.zip]: missing 48821 bytes in zipfile (attempting to process anyway) error [tst.zip]: attempt to seek before beginning of zipfile (please check that you have transferred or created the zipfile in the appropriate BINARY mode and that you have compiled UnZip properly) $ rm tst.zip $ date > text.txt $ zip tst.zip text.txt $ rm text.txt $ unzip tst.zip Archive: tst.zip extracting: text.txt ---------------------------------------------------------------------- Dave --xhUisCoZnD Content-Type: text/plain Content-Description: cygcheck -svr Content-Disposition: attachment; filename="cygcheck.out" Content-Transfer-Encoding: 7bit Cygwin Win95/NT Configuration Diagnostics Current System Time: Mon Jul 28 13:08:54 2003 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4 Path: C:\cygwin13\usr\local\bin C:\cygwin13\bin C:\cygwin13\bin c:\Program Files\Oracle\jre\1.3.1\bin c:\oracle\ora817\bin c:\cygwin\bin c:\cygwin\usr\local\bin c:\cygwin\usr\X11R6\bin c:\WINNT\system32 c:\WINNT c:\WINNT\System32\Wbem c:\Program Files\Network Associates\PGPNT c:\Program Files\Rational\common c:\Program Files\Rational\Rational Test c:\Program Files\Rational\ClearCase\bin c:\Program Files\Hummingbird\Connectivity\7.00\Accessories\ c:\Program Files\Rational\ClearQuest c:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt c:\Program Files\Executive Software\DiskeeperWorkstation\ c:\users\daver\bin c:\Program Files\SSH Communications Security\SSH Secure Shell Output from C:\cygwin13\bin\id.exe (nontsec) UID: 11150(daver) GID: 11251(clearusers) 11251(clearusers) Output from C:\cygwin13\bin\id.exe (ntsec) UID: 11150(daver) GID: 11251(clearusers) 11642(All Here) 11665(All_Employees) 11121(clearcase) 11251(clearusers) 11629(Developers) 11622(Development) 10512(Domain Admins) 10513(Domain Users) 11123(Entomo Developers) 11124(Entomo Employees) 11125(Entomo Engineering) 11635(IT Ops) 11282(My Documents Redirection) 12625(SEC-Exchange Admins) 544(Administrators) 545(Users) 1000(ORA_DBA) SysDir: C:\WINNT\system32 WinDir: C:\WINNT HOME = `C:\cygwin13\home\daver' MAKE_MODE = `unix' PWD = `/cygdrive/c/temp/zip' USER = `daver' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\daver\Application Data' CLEARCASE_PRIMARY_GROUP = `clearusers' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `PHISH' COMSPEC = `C:\WINNT\system32\cmd.exe' CVS_RSH = `/bin/ssh' DISKEEPERICON = `C:\Program Files\Executive Software\DiskeeperWorkstation\' GNU_HOME = `c:/cygwin' HOMEDRIVE = `c:' HOMEPATH = `\users\daver' HOMESHARE = `\\vader\daver$' HOSTNAME = `phish' J2EE_HOME = `c:/j2sdkee1.2.1' JAVA_HOME = `c:/jdk1.2.2' LOGONSERVER = `\\LUKE' NUMBER_OF_PROCESSORS = `1' NUTSUFFIX = `1' OLDPWD = `/cygdrive/c/temp' ORA81_HOME = `c:/oracle/ora817' ORA81_HOME_WIN = `c:\oracle\ora817' ORA9_HOME = `c:/oracle/ora920' ORA9_HOME_WIN = `c:\oracle\ora920' ORA_HOME = `c:/oracle/ora817' ORA_HOME_WIN = `c:\oracle\ora817' OS2LIBPATH = `C:\WINNT\system32\os2\dll;' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 6, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0806' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' PS1 = `\[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ ' RATL_RTHOME = `C:\Program Files\Rational\Rational Test' SHLVL = `1' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINNT' TEMP = `c:\DOCUME~1\daver\LOCALS~1\Temp' TERM = `cygwin' TMP = `c:\DOCUME~1\daver\LOCALS~1\Temp' TMPDIR = `c:\DOCUME~1\daver\LOCALS~1\Temp' USERDNSDOMAIN = `entomo.com' USERDOMAIN = `ENTOMO' USERNAME = `daver' USERPROFILE = `C:\Documents and Settings\daver' WINDIR = `C:\WINNT' WL_HOME = `c:/weblogic510' _ = `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x00000022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs\Cygnus Solutions (default) = (unsupported type) HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs\Development\Cygnus Solutions (default) = (unsupported type) HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0000002a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin13' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin13\bin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin13\lib' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/A N/A c: hd NTFS 19594Mb 90% CP CS UN PA FC Local Disk d: cd N/A N/A e: hd NTFS 78159Mb 95% CP CS UN PA FC External f: hd NTFS 239366Mb 16% CP CS UN PA FC External2 h: net NTFS 19594Mb 90% CP CS UN PA FC Local Disk m: net MVFS 1000Mb 50% CP CS CCase p: net NTFS 7134Mb 72% CP CS PA . s: net NTFS 15500Mb 93% CP CS UN PA FC u: net NTFS 43974Mb 39% CP CS UN PA FC DATA2 . /cygdrive user binmode,cygdrive C:\cygwin13 / system binmode C:\cygwin13\bin /usr/bin system binmode C:\cygwin13\lib /usr/lib system binmode . /cygdrive system binmode,cygdrive Found: C:\cygwin13\bin\awk.exe Found: C:\cygwin13\bin\bash.exe Found: C:\cygwin13\bin\cat.exe Found: C:\cygwin13\bin\cp.exe Not Found: cpp (good!) Found: C:\cygwin13\bin\find.exe Not Found: gcc Not Found: gdb Found: C:\cygwin13\bin\grep.exe Not Found: ld Found: C:\cygwin13\bin\ls.exe Not Found: make Found: C:\cygwin13\bin\mv.exe Found: C:\cygwin13\bin\rm.exe Found: C:\cygwin13\bin\sed.exe Found: C:\cygwin13\bin\sh.exe Found: C:\cygwin13\bin\tar.exe 58k 2002/05/07 C:\cygwin13\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0 "cygbz2-1.dll" v0.0 ts=2002/5/6 23:33 45k 2001/04/25 C:\cygwin13\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0 "cygform5.dll" v0.0 ts=2001/4/24 22:28 35k 2002/01/09 C:\cygwin13\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0 "cygform6.dll" v0.0 ts=2002/1/8 22:03 76k 2003/03/09 C:\cygwin13\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0 "cygform7.dll" v0.0 ts=2003/3/9 12:51 28k 2003/07/20 C:\cygwin13\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm-3.dll" v0.0 ts=2003/7/20 0:58 30k 2003/07/26 C:\cygwin13\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm-4.dll" v0.0 ts=2003/7/26 0:15 19k 2003/03/22 C:\cygwin13\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm.dll" v0.0 ts=2002/2/19 19:05 15k 2003/07/20 C:\cygwin13\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 1:00 15k 2003/07/26 C:\cygwin13\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm_compat-4.dll" v0.0 ts=2003/7/26 0:17 17k 2001/06/28 C:\cygwin13\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0 "cyghistory4.dll" v0.0 ts=2001/1/6 20:34 20k 2002/10/10 C:\cygwin13\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0 "cyghistory5.dll" v0.0 ts=2002/10/10 10:28 945k 2003/06/18 C:\cygwin13\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0 "cygiconv-2.dll" v0.0 ts=2003/6/17 20:08 22k 2001/12/13 C:\cygwin13\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0 "cygintl-1.dll" v0.0 ts=2001/12/13 1:28 28k 2002/09/20 C:\cygwin13\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0 "cygintl-2.dll" v0.0 ts=2002/9/19 20:13 26k 2001/04/25 C:\cygwin13\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0 "cygmenu5.dll" v0.0 ts=2001/4/24 22:27 20k 2002/01/09 C:\cygwin13\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0 "cygmenu6.dll" v0.0 ts=2002/1/8 22:03 48k 2003/03/09 C:\cygwin13\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0 "cygmenu7.dll" v0.0 ts=2003/3/9 12:51 156k 2001/04/25 C:\cygwin13\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++5.dll" v0.0 ts=2001/4/24 22:29 175k 2002/01/09 C:\cygwin13\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++6.dll" v0.0 ts=2002/1/8 22:03 226k 2001/04/25 C:\cygwin13\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses5.dll" v0.0 ts=2001/4/24 22:17 202k 2002/01/09 C:\cygwin13\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0 "cygncurses6.dll" v0.0 ts=2002/1/8 22:03 284k 2003/03/09 C:\cygwin13\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0 "cygncurses7.dll" v0.0 ts=2003/3/9 12:50 15k 2001/04/25 C:\cygwin13\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0 "cygpanel5.dll" v0.0 ts=2001/4/24 22:27 12k 2002/01/09 C:\cygwin13\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0 "cygpanel6.dll" v0.0 ts=2002/1/8 22:03 31k 2003/03/09 C:\cygwin13\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0 "cygpanel7.dll" v0.0 ts=2003/3/9 12:50 63k 2003/04/11 C:\cygwin13\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0 "cygpcre.dll" v0.0 ts=2003/4/11 1:31 61k 2003/04/11 C:\cygwin13\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0 "cygpcreposix.dll" v0.0 ts=2003/4/11 1:31 108k 2001/06/28 C:\cygwin13\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0 "cygreadline4.dll" v0.0 ts=2001/1/6 20:34 127k 2002/10/10 C:\cygwin13\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0 "cygreadline5.dll" v0.0 ts=2002/10/10 10:28 50k 2002/03/12 C:\cygwin13\bin\cygz.dll - os=4.0 img=1.0 sys=4.0 "cygz.dll" v0.0 ts=2002/3/11 20:38 946k 2003/07/26 C:\cygwin13\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2003/7/26 11:11 Cygwin DLL version info: DLL version: 1.5.1 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 90 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Sat Jul 26 14:11:33 EDT 2003 Shared id: cygwin1S3 Cygwin Package Information Last downloaded files to: H:\downloads\Development\cygwin Last downloaded files from: http://mirrors.rcn.net/pub/sourceware/cygwin Package Version _update-info-dir 00190-1 ash 20020731-1 base-files 1.3-1 base-passwd 1.1-1 bash 2.05b-9 bzip2 1.0.2-2 cygwin 1.5.1-1 diffutils 2.8.1-1 fileutils 4.1-1 findutils 4.1.7-4 gawk 3.1.3-1 gdbm 1.8.3-3 grep 2.5-1 gzip 1.3.3-4 libbz2_1 1.0.2-2 libgdbm 1.8.0-5 libgdbm-devel 1.8.3-3 libgdbm3 1.8.3-3 libgdbm4 1.8.3-5 libiconv2 1.8-3 libintl1 0.10.40-1 libintl2 0.11.5-1 libncurses5 5.2-1 libncurses6 5.2-8 libncurses7 5.3-1 libpcre 4.1-1 libreadline4 4.1-2 libreadline5 4.3-2 login 1.9-5 ncurses 5.3-1 readline 4.3-2 sed 4.0.7-1 sh-utils 2.0.15-3 tar 1.13.25-1 termcap 20021106-2 terminfo 5.3-3 texinfo 4.2-4 textutils 2.0.21-1 unzip 5.50-3 which 1.5-1 zip 2.3-3 zlib 1.1.4-1 Use -h to see help about each section --xhUisCoZnD Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ --xhUisCoZnD--