Date: Sat, 6 Apr 2002 23:48:32 -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/lpd printjob.c Message-ID: <200204070748.g377mWS07431@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204070748.g377mWS07431>
