[ On Wednesday, October 10, 2001 at 14:43:14 (-0700), Paul Sander wrote: ]
> Subject: Re: cvs exit status
>
> What happens on a Unix system when the exit status exceeds 127? It overflows.
Well, actually it'll depend on a number of factors. I suspect the
result is literally "undefined" from the standards point of view. In
many systems I suspect it will be confused with a signal having been
delivered. In all cases I suspect there's only one chance in 127 of the
overflow resulting in an apparent success. I'm too lazy to write the
trivial test case though.... :-)
> An incremented exit status can (and does) report success in the presence of
> failures.
What a bogus worry! Do you have an example of an actual code path in
CVS which can easily cause such an overflow?
--
Greg A. Woods
+1 416 218-0098 VE3TCP <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Planix, Inc. <[EMAIL PROTECTED]>; Secrets of the Weird <[EMAIL PROTECTED]>
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs