Subject: PR/35027 CVS commit: src/usr.bin/getconf
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, njoly@pasteur.fr>
From: Christos Zoulas <christos@netbsd.org>
List: netbsd-bugs
Date: 11/10/2006 15:40:02
The following reply was made to PR bin/35027; it has been noted by GNATS.
From: Christos Zoulas <christos@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/35027 CVS commit: src/usr.bin/getconf
Date: Fri, 10 Nov 2006 15:36:05 +0000 (UTC)
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.