From owner-cvs-all Sat Apr 6 23:48:35 2002 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 B880537B416; Sat, 6 Apr 2002 23:48:32 -0800 (PST) Received: (from gad@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g377mWS07431; Sat, 6 Apr 2002 23:48:32 -0800 (PST) (envelope-from gad) Message-Id: <200204070748.g377mWS07431@freefall.freebsd.org> From: Garance A Drosehn Date: Sat, 6 Apr 2002 23:48:32 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/lpr/lpd printjob.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG gad 2002/04/06 23:48:32 PST Modified files: usr.sbin/lpr/lpd printjob.c Log: Rearrange all the error returns from sendfile() to make sure the original input file and any temporary (filter) file are closed upon return, and that is generally done at the end of the routine. This should make it easier for a later update (not yet written) to implement a "resend_copies" option. MFC after: 12 days Revision Changes Path 1.46 +51 -43 src/usr.sbin/lpr/lpd/printjob.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message