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

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: rafael AT gauzon DOT com (rafael garcia)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: calling unzip32 from djgpp
Date: 22 Sep 2004 01:19:19 -0700
Organization: http://groups.google.com
Lines: 52
Message-ID: <42da7100.0409220019.6eca1dc7@posting.google.com>
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>
NNTP-Posting-Host: 80.58.14.170
X-Trace: posting.google.com 1095841159 32503 127.0.0.1 (22 Sep 2004 08:19:19 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Wed, 22 Sep 2004 08:19:19 +0000 (UTC)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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

- Raw text -


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