Subject: CVS commit: src/usr.bin/banner
To: None <source-changes@netbsd.org>
From: Martin J. Laubach <mjl@netbsd.org>
List: source-changes
Date: 03/13/2003 13:57:24
Module Name: src
Committed By: mjl
Date: Thu Mar 13 11:57:24 UTC 2003
Modified Files:
src/usr.bin/banner: banner.c
Log Message:
Correct handling of empty arguments as reported in OpenBSD PR/3146.
While there use strlcpy instead of strncpy and STDOUT_FILENO instead of 1.
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/usr.bin/banner/banner.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.