Subject: PR/35194 CVS commit: src/usr.bin/getconf
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, guy@alum.mit.edu>
From: Matt Fleming <mjf@netbsd.org>
List: netbsd-bugs
Date: 12/06/2006 12:05:03
The following reply was made to PR bin/35194; it has been noted by GNATS.

From: Matt Fleming <mjf@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/35194 CVS commit: src/usr.bin/getconf
Date: Wed,  6 Dec 2006 12:02:02 +0000 (UTC)

 Module Name:	src
 Committed By:	mjf
 Date:		Wed Dec  6 12:02:02 UTC 2006
 
 Modified Files:
 	src/usr.bin/getconf: getconf.c
 
 Log Message:
 PR/35194: 0 is returned from confstr(3) in two cases:
 		- when an error occurred and errno is set appropriately
 		- when the variable is undefined.
 
 Thanks to Guy Harris for pointing this out.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.25 -r1.26 src/usr.bin/getconf/getconf.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.