Project

General

Profile

Bug #393 » getconf.diff

TGEN, 12/05/2006 10:28 PM

View differences:

getconf.c 5 Dec 2006 22:21:43 -0000
char *buf;
size_t len;
errno = 0;
len = confstr(key, 0, 0);
if (len == (size_t)-1)
if (len == 0 && errno != 0)
err(EX_OSERR, "confstr: %s", name);
if (len == 0) {
(2-2/2)