This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: cygcheck exit status


----Original Message----
>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!


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]