Subject: CVS commit: src/usr.bin/getconf
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 11/10/2006 15:36:05
Module Name: src
Committed By: christos
Date: Fri Nov 10 15:36:04 UTC 2006
Modified Files:
src/usr.bin/getconf: getconf.c
Log Message:
PR/35027: Nicolas Joly: getconf argument parsing broken.
While there:
- don't print numbern, print number\n
- don't leak memory
- consistently return EXIT_FAILURE
- fix error checking
- pass lint
To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 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.