delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/09/22/10:31:04

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Cesar Rabak <crabak AT acm DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: calling unzip32 from djgpp
Date: Wed, 22 Sep 2004 11:22:16 -0300
Lines: 61
Message-ID: <41518A98.2080302@acm.org>
References: <42da7100 DOT 0409200153 DOT 6cb9560f AT posting DOT google DOT com> <414ECC5B DOT 7000802 AT acm DOT org> <42da7100 DOT 0409201030 DOT 753ea573 AT posting DOT google DOT com> <414F23A8 DOT 8060709 AT acm DOT org> <42da7100 DOT 0409202331 DOT 442efd6d AT posting DOT google DOT com> <415071E8 DOT 1000502 AT acm DOT org> <42da7100 DOT 0409220019 DOT 6eca1dc7 AT posting DOT google DOT com>
Mime-Version: 1.0
X-Trace: news.uni-berlin.de 5WOSWT+7GQUphNoAcd2gugK4kpPPSHbov59lCkDzUlB6y6VAA=
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: pt-br, pt
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

rafael garcia escreveu:
> Cesar Rabak <crabak AT acm DOT org> wrote in message news:<415071E8 DOT 1000502 AT acm DOT org>...
> 
>>rafael garcia escreveu:
>> > Cesar Rabak <crabak AT acm DOT org> wrote in message
>> > news:<414F23A8 DOT 8060709 AT acm DOT org>...
>> >
>> >>> The problem is when you include the ".zip" file extension,
>> >>> unzip32.exe changes its return code to 1 !!!
>> >>>
>> >>> I don't know if this is a bug or a feature but it has bad colour
>> >>> for me.
>> >>>
>> >>
>>I'm afraid you're hasting in conclusion the reason your getting the
>>return code of 1 is due the fact you'd put the extension on the name. . .
>>
>>Perhaps you have to investigate a little more. . . Get a look:
>>
>>D:\users\csrabak\Work>redir -x unzip32 -t Seleclin
>>Archive:  Seleclin.zip
>>     testing: seleclin.c               OK
>>     testing: testwin.c                OK
>>     testing: testwin.exe              OK
>>     testing: test.c                   OK
>>     testing: seleclin.txt             OK
>>     testing: seleclin.h               OK
>>No errors detected in compressed data of Seleclin.zip.
>>Exit code: 0
>>
>>D:\users\csrabak\Work>redir -x unzip32 -t Seleclin.zip
>>Archive:  Seleclin.zip
>>     testing: seleclin.c               OK
>>     testing: testwin.c                OK
>>     testing: testwin.exe              OK
>>     testing: test.c                   OK
>>     testing: seleclin.txt             OK
>>     testing: seleclin.h               OK
>>No errors detected in compressed data of Seleclin.zip.
>>Exit code: 0
>>
>>What do you get in your box?
> 
> 
> c:\c>djgpp\bin\redir -x unzip32 -t prueba.zip
> Archive:  prueba.zip
>     testing: prueba.txt               OK
> No errors detected in compressed data of prueba.zip.
> Exit code: 1
> 
> c:\c>djgpp\bin\redir -x unzip32 -t prueba
> Archive:  prueba.zip
>     testing: prueba.txt               OK
> No errors detected in compressed data of prueba.zip.
> Exit code: 0

Which unzip32 version are you using?

--
Cesar Rabak

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019