From owner-cvs-all Thu Nov 2 19:29: 5 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1F54637B4C5; Thu, 2 Nov 2000 19:29:02 -0800 (PST) Received: (from gad@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA98575; Thu, 2 Nov 2000 19:29:02 -0800 (PST) (envelope-from gad@FreeBSD.org) Message-Id: <200011030329.TAA98575@freefall.freebsd.org> From: Garance A Drosehn Date: Thu, 2 Nov 2000 19:29:01 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/lpr/lpr lpr.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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