Module Name: src Committed By: christos Date: Tue Oct 14 16:35:20 UTC 2014
Modified Files: src/usr.sbin/sysinst: defs.h main.c net.c run.c util.c Log Message: 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.4 -r1.5 src/usr.sbin/sysinst/defs.h \ src/usr.sbin/sysinst/util.c cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/sysinst/main.c cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/sysinst/net.c cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/run.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.