On Monday 17 April 2006 17:39, skip at pobox.com wrote: > 1. Why is errno being set to 0? The C APIs don't promise to clear errno on input; you have to do that yourself. > 2. Why is errno's value then tested to see if it's not zero? > > Looks like this have been that way since December 1999 when Fred added it. Looks like a bug to me. It should be set just before confstr() is called. -Fred -- Fred L. Drake, Jr. <fdrake at acm.org>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4