From: Dan K. <da...@ke...> - 2003-07-06 01:47:09
|
Matthew Emmerton wrote: > No, we're porting to an almost-SUSv3 compliant system (FreeBSD) where > strerror/perror does not return "Success" for errno 0, since errno 0 is > technically not an error and the use of strerror/perror in that situation is > undefined. The patch looks good. I have no objection to it, in fact, it's an improvement regardless of which OS you run it on. Apps should not set errno unless they have a good reason, since at least one earlier version of some standard didn't allow it... can't recall which... - Dan -- Dan Kegel http://www.kegel.com http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045 |