Project

General

Profile

Actions

Bug #393

closed

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

Added by guy over 17 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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.


Files

confstr.diff (1.67 KB) confstr.diff TGEN, 12/05/2006 07:29 PM
getconf.diff (476 Bytes) getconf.diff TGEN, 12/05/2006 10:28 PM
Actions

Also available in: Atom PDF