Subject: CVS commit: src/usr.sbin/lpr/lpr
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 01/29/2006 18:55:46
Module Name: src
Committed By: christos
Date: Sun Jan 29 18:55:46 UTC 2006
Modified Files:
src/usr.sbin/lpr/lpr: lpr.c
Log Message:
- use sizeof() instead of the buffer size.
- check write return.
- use MAXPATHLEN instead of BUFSIZ for a path buffer.
To generate a diff of this commit:
cvs rdiff -r1.34 -r1.35 src/usr.sbin/lpr/lpr/lpr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.