Subject: CVS commit: src/distrib/utils/sysinst
To: None <source-changes@netbsd.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 05/16/2003 19:34:00
Module Name:	src
Committed By:	dsl
Date:		Fri May 16 19:34:00 UTC 2003

Modified Files:
	src/distrib/utils/sysinst: util.c

Log Message:
Use sizeof() to be absolutely certain there are no buffer overruns.
Use strlcpy() instead of strncpy() where appropriate.
Recode timezone menu so that it can stand opt_name being const char *
and to only do the fts_read() once (there were problems if the filestore
changed between passes!).
Remove stupid check for errno != 0 which probably stopped the tomezone
menu being displayed!


To generate a diff of this commit:
cvs rdiff -r1.91 -r1.92 src/distrib/utils/sysinst/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.