Re: Exit status geting set on zip -uf on AIX when nothing to do

Wayne Johnson <wdtj-/[email protected]> Fri, 6 Feb 2004 12:56:09 -0800 (PST)
Newsgroups gmane.comp.archivers.info-zip
Message-ID <[email protected]>
Thanks Dan.  I looked at the web site but forgot to check the man pages.


--- Dan Nelson <dnelson-FUK3p6tQds9Wk0Htik3J/[email protected]> wrote:
> In the last episode (Feb 06), Wayne Johnson said:
> > I have a build process that runs on several systems (Windows, AIX and
> > Solaris).  In this process, we run make that has a zip -uj command.  
> > 
> > Yesterday, out of the blue, this process started returning and error
> > code of 12 when there was nothing to update.  There were no error
> > messages, just an exit status of 12.  If I gave it something to
> > update, it worked fine.  It also continues to return a normal value
> > (0) on the other platforms when nothing is done.
> 
> Hm. I'd say there's a bug in zip on the other platforms, since the zip
> manpage reads:
> 
>   DIAGNOSTICS
>        The exit status (or error  level)  approximates  the  exit
>        codes defined by PKWARE and takes on the following values,
>        except under VMS:
>   ...
>               12     zip has nothing to do
> 
> -- 
> 	Dan Nelson
> 	[email protected]
> _______________________________________________
> Info-ZIP mailing list
> [email protected]
> http://lists.wku.edu/mailman/listinfo/info-zip


=====
---
Wayne Johnson,             | There are two kinds of people: Those 
3943 Penn Ave. N.          | who say to God, "Thy will be done," 
Minneapolis, MN 55412-1908 | and those to whom God says, "All right, 
(612) 522-7003             | then,  have it your way." --C.S. Lewis

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html