Exit status geting set on zip -uf on AIX when nothing to do
Wayne Johnson <wdtj-/[email protected]> Fri, 6 Feb 2004 08:45:08 -0800 (PST)
| Newsgroups | gmane.comp.archivers.info-zip |
|---|---|
| Message-ID | <[email protected]> |
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. I've seen similar problems (and AIX is notorious for this sort for some reason), when someone has a value that isn't initialized. I'm guessing that the loop that processes the update is passing an uninitialized auto return code variable to a "update" function, and when nothing gets done, it never gets set. Of course, it could be a platform specific feature too. ===== --- 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