Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Martin J. Laubach <mjl@netbsd.org>
List: source-changes
Date: 09/19/2000 19:17:48
Module Name: basesrc
Committed By: mjl
Date: Tue Sep 19 16:17:48 UTC 2000
Modified Files:
basesrc/libexec/getty: main.c subr.c
Log Message:
Use strlcpy/strlcat instead of strn* plus manual termination.
Use sizeof() instead of hardcoded length. Clean up NULL vs 0
confusion. sizeof(char) is 1, really.
To generate a diff of this commit:
cvs rdiff -r1.31 -r1.32 basesrc/libexec/getty/main.c
cvs rdiff -r1.23 -r1.24 basesrc/libexec/getty/subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.