Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/usr.bin/who
Module Name: src
Committed By: dholland
Date: Sat Mar 8 22:29:26 UTC 2008
Modified Files:
src/usr.bin/who: utmpentry.c
Log Message:
Remove reflexive cargo-cult-style null-termination after strncpy; it is
neither needed nor particularly desirable. Add comments to explain what's
going on, and arrange to fail the build if the sizes of things get out
of whack.
Resolves PR bin/38201 from Chris Spiegel.
To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 src/usr.bin/who/utmpentry.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index