Date: Wed, 6 Jan 1999 00:25:57 -0800 (PST) From: Warner Losh <imp@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/lpr/lpr lpr.c Message-ID: <199901060825.AAA02713@freefall.freebsd.org>
index | next in thread | raw e-mail
imp 1999/01/06 00:25:57 PST
Modified files:
usr.sbin/lpr/lpr lpr.c
Log:
Add sanity checking to argument for -# and -i. Require these
arguments to be numbers. Also use '0' base to allow hex, octal or
decimal numbers.
This was done by me based on ideas in pr 3556, submitted by Uwe
Laubenstein and commented upon by j@uriah.heep.sax.de (J Wunsch).
PR: 3556
Revision Changes Path
1.26 +8 -4 src/usr.sbin/lpr/lpr/lpr.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901060825.AAA02713>
