confstr() should return 0, not -1, on errors

Guy Harris guy at alum.mit.edu
Sat Dec 2 14:59:45 PST 2006


According to

    http://www.opengroup.org/onlinepubs/009695399/functions/confstr.html

confstr() should return 0, not (size_t)-1, on errors.  The current 
DragonFly BSD implementation returns -1 if sysctl() fails.





More information about the Bugs mailing list