1Contents of the "macos" sub-archive for Zip 2.3 and later: 2 3 4MacOS: 5 6 Contents this file 7 readme.1st Instruction to unpack mac specific files 8 README.TXT Dirk Haase's infos on updated MacIntosh ports of Zip/UnZip 9 HISTORY.TXT Dirk Haase's MacOS specific ChangeLog 10 11 zipup.h MacOS 12 osdep.h MacOS specific configuration and declarations 13 14 ZipLib.h used to build a static library, global to the project 15 ZipSx.h used to build a standalone App with MW Sioux, global 16 to the project 17 ZpPrj.hqx Metrowerks CodeWarrior pro3 project file (BinHex) 18 19 20 source/ subdirectory containing all sources: 21 a) Zip specific code 22 extrafld.c contains all code related to the mac extra field 23 extrafld.h 24 macglob.h 25 macopen.c replaces fopen() and open() 26 macopen.h 27 macos.c Macintosh-specific routines for use with Info-ZIP's Zip 28 MatWild.c Pattern matching function 29 recurse.c Functions to go through the directories 30 recurse.h 31 unixlike.c This file provides a unix like file-stat routine 32 unixlike.h 33 VolWarn.h contains the warning message, about volumes with the 34 same name 35 zip_rc.hqx resource file for Macintosh unzip (BinHex) 36 37 38 b) general utilities shared between Zip and UnZip 39 charmap.h character mapping tables ISO 8859-1 <--> MacRoman 40 helpers.c some helper functions 41 helpers.h 42 macstuff.c Mac filemanager routines copied from MoreFiles 1.4.8 43 macstuff.h 44 mactime.c replacement for broken Metrowerks RTL time functions 45 pathname.c functions for handling MacOS HFS path- /filenames 46 pathname.h 47 48The new ZpPrj.hqx project file should be "un-BinHex'ed" into ZpPrj, 49which builds the following targets: 50 - Zip Lib (68K) -> static library 68k 51 - Zip Lib (PPC) -> static library PPC 52 - Zip Sioux (68K) -> MW Sioux standalone App, good for debugging 53 - Zip Sioux (PPC) -> MW Sioux standalone App, good for debugging 54 55 56The resource files and the compiler project files are in BinHex form because 57they contain Macintosh resource forks. The resource info cannot be 58maintained when handling (e.g. repacking) the master source collection on 59non-Macintosh systems. The BinHex form is the traditional way for 60transferring such files via non-Macintosh systems. 61It's also the safest since it uses only printable characters. The ".hqx" 62files must be converted with StuffitExpander or BinHex 4.0 (or equivalent) 63on a Macintosh system before using them. 64