[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lzip-bug] Re: Version 1.11-rc2 of lzip released
From: |
Elbert Pol |
Subject: |
Re: [Lzip-bug] Re: Version 1.11-rc2 of lzip released |
Date: |
Sun, 01 Aug 2010 19:32:20 +0200 |
User-agent: |
Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.9.2.7) Gecko/20100714 Thunderbird/3.1.1 |
On 1-08-10 17:02, Antonio Diaz Diaz wrote:
Hihi,
It compiled with the changes in main.cc
But the check failed :(
testing lzip...in copy differ: char qd, line qd
........... out: decoder error at pos 80
in copy differ: char qd, line qd
. out: decoder error at pos 538
in copy differ: char qd, line qd
. out: decoder error at pos 538
in copy differ: char qd, line qd
. out: decoder error at pos 443
in copy differ: char qd, line qd
. out: decoder error at pos 538
in copy differ: char qd, line qd
. out: decoder error at pos 80
in copy differ: char qd, line qd
. out: decoder error at pos 80
in copy differ: char qd, line qd
. out: decoder error at pos 80
in copy differ: char qd, line qd
. out: decoder error at pos 80
in copy differ: char qd, line qd
. out: decoder error at pos 80
in copy differ: char qd, line qd
. out: decoder error at pos 80
in copy differ: char qd, line qd
............. (stdin): decoder error at pos 2082
lzip: Deleting output file `copy', if it exists.
copy
. (stdin): decoder error at pos 2082
lzip: Deleting output file `copy', if it exists.
copy
... (stdin): decoder error at pos 5623
lzip: Deleting output file `copy', if it exists.
copy
.. (stdin): decoder error at pos 8816
lzip: Deleting output file `copy', if it exists.
copy
.... rec00001out.lz: decoder error at pos 80
in copy differ: char qd, line qd
.lzip: Can't open input file `rec00002out.lz': No such file or directory.
EOF on copy.lzip: Can't open input file `rec00003out.lz': No such file
or directory.
EOF on copy..........
tests failed.
make.exe: *** [check] Error 1
JonY wrote:
According to <http://www.lesstif.org/~amai/os2/html/porting.html>,
setmode looks to be available on OS/2.
Can we agree to use setmode?
I have found that minigzip.c[1] from zlib uses this for Cygwin and OS/2:
setmode(fileno(file), O_BINARY)
[1]http://www.sfr-fresh.com/unix/misc/zlib-1.2.5.tar.gz:a/zlib-1.2.5/minigzip.c
(see line 38).
So I plan to include the following near the beginning of main():
#if defined(OS2) || defined(__CYGWIN__)
setmode( STDIN_FILENO, O_BINARY );
setmode( STDOUT_FILENO, O_BINARY );
#endif
Elbert, JonY, can you check if this works both on Cygwin and OS/2?
Thanks.
Best regards,
Antonio.
_______________________________________________
Lzip-bug mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lzip-bug
- Re: [Lzip-bug] Re: Version 1.11-rc2 of lzip released, Elbert Pol, 2010/08/01
- Re: [Lzip-bug] Re: Version 1.11-rc2 of lzip released, JonY, 2010/08/01
- Re: [Lzip-bug] Re: Version 1.11-rc2 of lzip released, Antonio Diaz Diaz, 2010/08/01
- Re: [Lzip-bug] Re: Version 1.11-rc2 of lzip released, JonY, 2010/08/01
- Re: [Lzip-bug] Re: Version 1.11-rc2 of lzip released, Elbert Pol, 2010/08/02
- Re: [Lzip-bug] Re: Version 1.11-rc2 of lzip released, Antonio Diaz Diaz, 2010/08/02
- Re: [Lzip-bug] Re: Version 1.11-rc2 of lzip released, Elbert Pol, 2010/08/02
- Re: [Lzip-bug] Re: Version 1.11-rc2 of lzip released, JonY, 2010/08/02
- Re: [Lzip-bug] Re: Version 1.11-rc2 of lzip released, Antonio Diaz Diaz, 2010/08/03
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [Lzip-bug] Re: Version 1.11-rc4 of lzip released, Elbert Pol, 2010/08/09
- [Lzip-bug] Re: Version 1.11-rc4 of lzip released, Antonio Diaz Diaz, 2010/08/10
- [Lzip-bug] Re: Version 1.11-rc4 of lzip released, JonY, 2010/08/10