cygcheck exit status
Wed Jul 6 14:50:00 GMT 2005
>From: Eric Blake
>Sent: 06 July 2005 15:19
> But I hate thinking in negative logic, hence my definition of cygcheck to
> return true on success.]
Mneh. I don't like boolean success-fail return values full stop. They
convey too little information and then need to be supplanted with hideous
kludges such as global variables called errno or subsidiary function calls
called GetLastError. The standard POSIX design of returning zero for
success or a non-zero error code for failure is now something that's so much
second nature I don't even think of it as negative logic.
However this should not be taken as any opposition to your proposed patch!
Can't think of a witty .sigline today....
More information about the Cygwin-patches