Hi Przemek,

For these tests I was using BCC 5.5.1, with these
switches (notably debug switches):
C_USR=-DUNICODE -v -y

I've now retried with a fully default build, with
no custom switches, but the effect is still there.

Even more strangely, I'm getting the same (wrong)
results with an MSVS 2005 (MSVC++ 14) build.

I've also checked MSVS 2008, to no avail.

This is pretty strange.

[ I'll try to do MinGW tests, but that will take
long as it was years ago when I have linked a test
.exe with it. ]

Brgds,
Viktor

On 2008.07.31., at 22:03, Przemyslaw Czerpak wrote:

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

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to