Date: Sun, 7 Sep 2003 09:31:32 -0700 (PDT) From: Philippe Charnier <charnier@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/w w.c Message-ID: <200309071631.h87GVW4h065912@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
charnier 2003/09/07 09:31:32 PDT
FreeBSD src repository
Modified files:
usr.bin/w w.c
Log:
Do not print the result of strftime() in case of failure, the content is
indeterminate in such a case. The correct value for 2nd argument is
sizeof(buf). Do not NUL-terminate the result string, strftime() will do it
for us.
Revision Changes Path
1.57 +3 -5 src/usr.bin/w/w.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309071631.h87GVW4h065912>
