Subject: CVS commit: src/usr.bin/getconf
To: None <source-changes@NetBSD.org>
From: Matt Fleming <mjf@netbsd.org>
List: source-changes
Date: 12/06/2006 12:02:02
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.