]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Made sure the string formated by strftime() is properly
authorKazutaka YOKOTA <yokota@FreeBSD.org>
Fri, 7 Mar 1997 11:04:01 +0000 (11:04 +0000)
committerKazutaka YOKOTA <yokota@FreeBSD.org>
Fri, 7 Mar 1997 11:04:01 +0000 (11:04 +0000)
commit719ed69ecf47879b698a984027638e210766e8a5
tree0b0ea63dc9ef563245c791178ba71095dd8f6ec5
parent6d7977a7cc789ad51b6dc37538e7a68612352465
Made sure the string formated by strftime() is properly
null-terminated.

Fixed a wrong if statement which should test a string is
empty where in fact it tested the string pointer was NULL.

Should go to RELENG_2_1 and RELENG_2_2.

Reviewed by guido@freebsd.org.
usr.bin/who/who.c