I have some queries about info zip which I just discovered:
1) The last two versions of zip I have are:
2013/07/24 04:47:10 107395 F:\usr\bin\zip.exe
(OS/2 executable module built for kLIBC v0.6.4+)
2010/08/14 04:11:26 224844 F:\OS2_Apps\zip.exe
(OS/2 executable module built with InnoTek GCC)
However, even though they seem very different, and are compiled differently, they return the same version information:
[F:\usr\bin]F:\usr\bin\zip.exe
Copyright (c) 1990-2008 Info-ZIP
Zip 3.0 (July 5th 2008). Usage:
[F:\OS2_Apps]F:\OS2_Apps\zip.exe
Copyright (c) 1990-2008 Info-ZIP
Zip 3.0 (July 5th 2008). Usage:
If any, what are the functional differences?
2) This discovery was precipitated when I was attempting to verify zip file integrity. Both these executables return:
[G:\ZipBackup]F:\usr\bin\zip.exe -T ThinkPad_MR2_20190721.zip
unzip: cannot find either "ThinkPad_MR2_20190721.zip" or "ThinkPad_MR2_20190721.zip".zip.
test of ThinkPad_MR2_20190721.zip FAILED
zip error: Zip file invalid, could not spawn unzip, or wrong unzip (original files unmodified)
[G:\ZipBackup]F:\OS2_Apps\zip.exe -T ThinkPad_MR2_20190721.zip
unzip: cannot find either "ThinkPad_MR2_20190721.zip" or "ThinkPad_MR2_20190721.zip".zip.
test of ThinkPad_MR2_20190721.zip FAILED
zip error: Zip file invalid, could not spawn unzip, or wrong unzip (original files unmodified)
So, I checked an older info zip version:
[G:\ZipBackup]D:\OS2\ZIP.EXE -T ThinkPad_MR2_20190721.zip
ThinkPad_MR2_20190721.zip: found a preamble of 1825507506 bytes
test of ThinkPad_MR2_20190721.zip OK
[D:\os2]zip
Copyright (C) 1990-2005 Info-ZIP
Type 'zip "-L"' for software license.
Zip 2.31 (March 8th 2005). Usage:
What is up with this?
On 09/21/19 01:14 PM, becky.kudrenecky@gmail.com wrote:
I have some queries about info zip which I just discovered:
2010/08/14 04:11:26 224844 F:\OS2_Apps\zip.exe
(OS/2 executable module built with InnoTek GCC)
The version info is likely hardcoded and the porters never touched it. Hopefully no functional differences, but really it depends on whether
the porters needed to touch anything and the toolchain, differences in behaviour or bugs. When it comes to the toolchain, usually newer is better.
What is up with this?
Bad zip, that's a huge preamble. I guess the older zip looks harder at
the file to try to correct for errors and it looks like the zip itself
was good, just hiding at the end of the file.
I believe there are newer versions of Zip v3 at Netlabs rpm repositories (available as zips) and perhaps Paul's site.
I have,
6-12-18 2:02a 89,787 124 a--- unzip.exe
9-28-18 7:09a 110,449 124 a--- zip.exe
Dave
Hi Dave:
Thanks for your response.
On Sunday, 22 September 2019 00:53:37 UTC-5, Dave Yeo wrote:
On 09/21/19 01:14 PM, becky.kudreneky@gmail.com wrote:
I have some queries about info zip which I just discovered:
But it's the same situation for any zip file I've tested:
[F:\Applications]zip -T usbdrv213.zip
unzip: cannot find either "usbdrv213.zip" or "usbdrv213.zip".zip.
test of usbdrv213.zip FAILED
zip error: Zip file invalid, could not spawn unzip, or wrong unzip (original files unmodified)
[F:\Applications]D:\os2\zip -T usbdrv213.zip
test of usbdrv213.zip OK
Zip 3.0 (-T) does not appear to work , but Zip 2.31 does.
I also see why I upgraded my zips, as Zip 2.31 does not support file sizes over 2 GiB.
I believe there are newer versions of Zip v3 at Netlabs rpm repositories (available as zips) and perhaps Paul's site.
I have,
6-12-18 2:02a 89,787 124 a--- unzip.exe
9-28-18 7:09a 110,449 124 a--- zip.exe
Dave
I will check this out, and see what transpires.
[F:\Applications]F:\temp\zip-3_0-8_oc00\@unixroot\usr\bin\zip.exe -T usbdrv213.zip
unzip: cannot find either "usbdrv213.zip" or "usbdrv213.zip".zip.
test of usbdrv213.zip FAILED
zip error: Zip file invalid, could not spawn unzip, or wrong unzip (original files unmodified)
So, the latest zip.exe reports identical version information, and has the same malfunction. I am going to see if I can get infozip for my daughter's Win 10 (ugh!!) computer, and test to see if this fault might be common to the infozip code.
On Sun, 22 Sep 2019 16:19:30 UTC, baden wrote:
So, the latest zip.exe reports identical version information, and has the same malfunction. I am going to see if I can get infozip for my daughter's Win 10 (ugh!!) computer, and test to see if this fault might be common to the infozip code.
I suspect "our" 'zip -T ..' function is actually broken. Similar
nonsense results here. I've never used it like that ...
Works smoothly here on Linux, so IMHO no need to ask Win$ :-) (people
often have Winrar instead....)
But 'unzip -t ...' works anyway, resp. should do.
I have some queries about info zip which I just discovered:You can simply execute:
1) The last two versions of zip I have are:
2013/07/24 04:47:10 107395 F:\usr\bin\zip.exe
(OS/2 executable module built for kLIBC v0.6.4+)
2010/08/14 04:11:26 224844 F:\OS2_Apps\zip.exe
(OS/2 executable module built with InnoTek GCC)
However, even though they seem very different, and are compiled differently, they return the same version information:
[F:\usr\bin]F:\usr\bin\zip.exe
Copyright (c) 1990-2008 Info-ZIP
Zip 3.0 (July 5th 2008). Usage:
[F:\OS2_Apps]F:\OS2_Apps\zip.exe
Copyright (c) 1990-2008 Info-ZIP
Zip 3.0 (July 5th 2008). Usage:
If any, what are the functional differences?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 39:01:43 |
Calls: | 6,648 |
Files: | 12,193 |
Messages: | 5,329,314 |