From: SMTP%"Info-ZIP%WKUVX1.BITNET@uu7.psi.com" 9-AUG-1993 09:00:51.62 To: EVERHART CC: Subj: unzip 5.1e beta uploaded to quest X-Listname: Info-ZIP Announcements Warnings-To: <> Errors-To: goathunter%WKUVX1.BITNET@uu7.psi.com Sender: goathunter%WKUVX1.BITNET@uu7.psi.com Date: Sun, 8 Aug 93 01:58:21 CDT From: "Cave Newt" Reply-To: Info-ZIP%WKUVX1.BITNET@uu7.psi.com Message-Id: <9308080658.AA19060@midway.uchicago.edu> To: info-zip@wkuvx1.BITNET, info-zip-announce@wkuvx1.BITNET Subject: unzip 5.1e beta uploaded to quest Cc: wancho@wsmr-simtel20.army.mil Info-ZIPpers, OK, so it only took 9+ months to get the next beta out...it'll be worth it, at least to those of you for whom it compiles. :-) You can find it at quest.jpl.nasa.gov;/beta/unz51e.zip (no longer encrypted). But first, a minor administrative matter: Some pinhead uploaded beta versions of the zip and unzip source code to the 386BSD distribution sites. This is MOST uncool. The beta zipfiles say "do not distribute," and we mean it. The ONLY beta versions which may be publicly distributed are binaries of new ports (e.g., the Amiga port), and that only after those in zip-bugs (the authors) have discussed it. The beta source code is for use by Info-ZIP members (who are supposed to have some concept of what a beta test is, and to be prepared for the consequences of bugs) and no one else. Please don't make our job any harder; as you may have surmised, we're all a little short on spare time... Right, then. There are three major new features in this beta, but because they're major, they ONLY exist in the Unix, OS/2 and MS-DOS versions. The other versions have not been ported yet (although Amiga and Atari are underway, and NT might be), so unless you are willing to do some serious hacking, don't even bother to grab the sources if you're not using one of these OS's. (I did update all the makefiles--with luck, correctly-- so all that *should* be necessary is to add readdir/opendir and mapname/checkdir routines to the .c files.) The three features are: (1) extract-to-other-dir capability; (2) wildcard zipfiles; and (3) incorporated zipinfo. The first two have been sorely missed and have been requested by countless users; well, here ya go. The third feature is mainly admini- strative--I no longer have to duplicate a bunch of changes in both unzip and zipinfo. It does have a small drawback for MS-DOS users, at least for now: because of the extra data space require- ments, we now have to use the compact memory model. I think I can avoid this by putting all the text strings into far memory and copying them to near memory for printing, but that will take some work. Btw, to invoke zipinfo, use "unzip -Z" or else link/ rename the unzip executable to either "zipinfo" or "ii". Also, while I have installed a number of the patches I've been sent over the last 9 months, there are a few which I haven't done yet. That's even more true of the various bug reports and com- plaints which have come in; I've saved them, but I didn't have time to put them in. I will try to dig through the backlog in time for the next beta, but feel free to remind me anyway if a problem you reported previously still exists in this beta. Oh yes, a couple of warnings for Unix users: (1) if your system has the 14-character path-component limitation, you'll need to add -DSHORT_NAMES to the makefile target or to unzip.h (if there's a pre-defined macro available, like __convexc__). I haven't had a chance to test the code in question, so it may not work anyway. :-) (2) If your system uses the dirent struct rather than the direct struct for directory access, there may be problems resulting from the fact that the d_name struct member is not 0-terminated, but I assumed it was. I don't know whether this is the case or not, but I have a sneaking suspicion... For those of you who like to compile the decryption version, note that you will need to grab the new zcryp20i.zip file from quest as well. OK, that's about it as far as the general mumbling goes. Here's the complete list of changes (at least, I think it's complete): features added: - sysv_gcc Makefile target [Jean-loup] - OS/2: added bunch of new compiler targets to makefile.os2 [Kai Uwe] - extract-to directory supported (Unix, OS/2, MS-DOS), mapname completely rewritten [CN] - added wildcard-zipfile capability (Unix, OS/2, MS-DOS) [CN] - incorporated zipinfo into unzip (use -Z option or link to "zipinfo" or "ii") [CN] - updated and improved unzip and zipinfo help screens [CN] - added "No errors detected" message to non-quiet tests (unzip -t) [CN] - Atari: Atari/GCC port! (relative to 5.1d3, anyway) [Chris Herborth] - Amiga: (finally) incorporated John's and Paul's Amiga patches from last year; made various arrays (min_info, explode/inflate) static to save on Amiga stack space [John, Paul] - modified handler() error message to indicate segv/bus error [CN] - nextbw (multi-architecture NeXTstep binary) Makefile target [Denise Blakeley] - yet another new (and smaller) version of match.c, swiped from zip [original undoubtedly by Mark, modified for unzip by Paul Kienitz] bugs fixed: - added missing definition of RAND_HEAD_LEN to dummy crypt.h [CN, Mark, Rafal] - ifdef'd out fcntl.h in crypt.c for unzip [Jean-loup] - removed unused variable in file_io.c [CN] - fixed extra "%s" in unzip.c, removed some Borland warnings from extract.c, updated MSDOS Makefile entries [Onno] - fixed dnix comments in Makefile [Bo] - moved definition of `key' into crypt.c; removed dependency on crypt.h for unzip.c [CN] - updated sources and usage screen with new addresses; cleaned up/rewrote README file [CN] - updated OS/2 makefile (new targets) [Kai Uwe] - updated MS-DOS tcc/zipinfo.prj [Glenn Andrews] - put in alternate fix for BSD redefinitions; temporarily commented out NO_PARAM_H for Minix, 386BSD, etc. [CN, Marcelino Enriquez] - changed "Extracting," "Inflating," etc., messages to lowercase to match zip [CN] - added Atari to auto-lowercasing list [Chris Herborth?] - added necessary typecasts to work under Amdahl "EFT" system [CN] - fixed inflate.c to work with slightly modified PKZIP 2.04c format; fixed incorrect return value; added code to fix funzip EOB bug [Mark] - added two parentheses to unix.c to avoid gcc warnings [Onno] - replaced fseek in funzip.c [Mark] - updated some comments and removed a debug statement in inflate.c [Mark] - fixed (and improved?) ZMEM stuff for Pyramid [CN] - fixed bug in non-Mac version of ASCII conversion code [Ron Henderson] - fixed unzip so error on "foo" results in check of "foo.zip", too, before quitting with error message [CN] - fixed too-long usage string in unzip.c [CN, Jean-loup] - fixed error handling in process_zipfiles [CN] - got rid of annoying longint typedef [CN] - fixed/improved Turbo C++ 1.0 support in makefile.bcc [Kevin Fritz] - added Convex to the list for fcntl.h in crypt.c and noted possible open/ ttyname compiler bug [Rafal Maszkowski] - added HP/UX to list of systems for which to define UNIX [Mike Peterson] - fixed a bunch of SysV.4/MS-DOS warnings (errors?) [Jean-loup] - added macfstest call to macmkdir in mac.c for MPW hfsflag [Steve Hanna] - fixed Minix outfd bug, #defined UNIX for Minix, updated minix Makefile target [Bruce Evans] - made default for TERMIO ifdef (Posix); see what breaks... [CN, Bruce Evans] - fixed some inflate error messages (c10.5) [Mark] - added -DNODIR to 7300 Makefile target [CN] - fixed return-value of PK_NOZIP (9) bug [CN] - MS-DOS: commented out opendir/readdir in msdos.c for Borland C (already has them) [CN, Michael Lawler] - added 14-char path-component truncation if SHORT_NAMES defined [CN] - changed cray_cc/cray targets to cray/cray_scc [CN] - MS-DOS: changed makefiles to use compact model for now (project files unchanged), until put strings in far data area [CN] Greg