Module Name: src Committed By: martin Date: Fri Feb 27 11:29:44 UTC 2015
Modified Files: src/usr.sbin/sysinst [netbsd-7]: defs.h main.c net.c run.c util.c Log Message: Pull up following revision(s) (requested by snj in ticket #554): usr.sbin/sysinst/defs.h: revision 1.5 usr.sbin/sysinst/main.c: revision 1.6 usr.sbin/sysinst/net.c: revision 1.17 usr.sbin/sysinst/util.c: revision 1.5 usr.sbin/sysinst/run.c: revision 1.3 Don't use asctime(localtime(time_t *)) because this is really ctime(time_t *) and not checking the result of localtime can lead to tears. Add a safectime() that always returns a good string, and add some debugging so that we can see if there is indeed something wrong in the new libc time code. To generate a diff of this commit: cvs rdiff -u -r1.3.4.1 -r1.3.4.2 src/usr.sbin/sysinst/defs.h \ src/usr.sbin/sysinst/main.c cvs rdiff -u -r1.2.4.1 -r1.2.4.2 src/usr.sbin/sysinst/net.c \ src/usr.sbin/sysinst/run.c cvs rdiff -u -r1.3.2.1 -r1.3.2.2 src/usr.sbin/sysinst/util.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.