The date field should be fixed in CVS. The other fields you mention are currently being filled with zeros. They are not too important (I believe), but now that you have pointed my attention towards it, I’ll try to do better. I’ll take a look at your perl module for inspiration regarding required version etc.
Do you have the non-MSDOS permission bits encoded/decoded in your perl module? Have any good links to reference documentation? I’ve used pkware’s appnote.zip spec of the zip file format as the only documentation, except for the msdos time format, which I’ve found somewhere else (and boy does it stink, the msdos timeformat that is)
Fra: Ned Konz [mailto:firstname.lastname@example.org]
Sendt: ma 08-07-2002 00:56
Til: ruby-talk ML
Emne: Re: SV: [ANN] Archive 0.2
On Sunday 07 July 2002 03:23 pm, Thomas Søndergaard wrote: > If you are bent on putting the zip functionality into your archive > module, you can "borrow" the relevant code from rubyzip - though > I'd like to think rubyzip is good enough in it self :-) Aren't you missing some header fields? From zipinfo -v on one of the constructed files: file system or operating system of origin: MS-DOS, OS/2 or NT FAT version of encoding software: 0.0 minimum file system compatibility required: MS-DOS, OS/2 or NT FAT minimum software version required to extract: 0.0 file last modified on (DOS date/time): 1980 000 0 00:00:00 non-MSDOS external file attributes: 000000 hex MS-DOS file attributes (00 hex): none You can lift some of the code for this from my Perl Archive::Zip module, though it's probably better to add the appropriate Unix extra fields for times and owners/permissions as well as using the DOS info. -- Ned Konz http://bike-nomad.com GPG key ID: BEEA7EFE