NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/38201 CVS commit: src/usr.bin/who



The following reply was made to PR bin/38201; it has been noted by GNATS.

From: "David A. Holland" <dholland%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/38201 CVS commit: src/usr.bin/who
Date: Sat,  8 Mar 2008 22:29:26 +0000 (UTC)

 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