On Thu, 31 Jul 2008, Szakáts Viktor wrote: Hi Viktor,
> Now I'm also confused, because myunzip cannot extra it either > (created a zero length file). > Now I did the .zip again (theoretically with no difference), > I'm attaching it. myunzip is able to unzip it, but unzip isn't. My unzip too. It looks that zip file you created is wrong. What compiler do you use? Can you try to repeat your test with some other build? I've just compressed using myzip.prg --pass abc whole Harbour .svn tree with binaries (.obj,.lib,.a,.exe) for about 10 different C compilers inside and then decompress them using unzip without any problems. Then I repeated the test using myzip.prg compiled for Win32 (MinGW cross build) and unzip was decompressing few files then asked for a password because the previously enter one (abc) detected as incorrect. It was repeated few times for other files so some files were lost. These random result suggests that there is sth wrong with some code but the problem cannot be replicated in Linux builds - so far I was not able to create broken archive. I have some ideas about possible reasons like not exactly ANSI-C compliant fread() which may cause such effects. I'll try to make some tests ASAP and if it's the source of problem then I'll add workaround for it ASAP. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour