[Python-Dev] posix_confstr seems wrong (original) (raw)
Fred L. Drake, Jr. fdrake at acm.org
Mon Apr 17 23:45:49 CEST 2006
- Previous message: [Python-Dev] posix_confstr seems wrong
- Next message: [Python-Dev] posix_confstr seems wrong
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Monday 17 April 2006 17:39, skip at pobox.com wrote:
- Why is errno being set to 0?
The C APIs don't promise to clear errno on input; you have to do that yourself.
- 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.
- Previous message: [Python-Dev] posix_confstr seems wrong
- Next message: [Python-Dev] posix_confstr seems wrong
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]