Date: Thu, 2 Nov 2000 19:29:01 -0800 (PST) From: Garance A Drosehn <gad@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/lpr/lpr lpr.c Message-ID: <200011030329.TAA98575@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2000/11/02 19:29:01 PST
Modified files:
usr.sbin/lpr/lpr lpr.c
Log:
This update gets it so 'lpr -r' ("remove the file after printing") will
try to move the file from the source to the destination (spool) directory.
If that succeeds, much time and disk-space will be saved by doing that
instead of copying the entire file only to remove the original. This
could be a big win on machines doing samba-service or CAP-based printing.
Note that this is about the fourth or fifth iteration of the patch, after
trying to address all possible security implications of the change.
PR: 16124
Reviewed by: freebsd-current or freebsd-hackers (some time ago)
Revision Changes Path
1.35 +80 -1 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011030329.TAA98575>
