Date: Sun, 12 Nov 2000 21:44:50 -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: <200011130544.VAA16031@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2000/11/12 21:44:50 PST
Modified files:
usr.sbin/lpr/lpd printjob.c
Log:
Replace call to mktemp() with mkstemp. Also move where that call is
done, so the correct directory is being checked. The mkstemp() call
is meant to create a temp file for stderrs when running filters. This
update also fixes log-file processing for remote (rm=) queues which
specify an input filter (if=). Before, filter-errs were thrown away.
Now they'll be copied to the queue's logfile (lf=).
Reviewed by: (a little) audit@FreeBSD.ORG & freebsd-print@bostonradio.org
Revision Changes Path
1.29 +44 -18 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?200011130544.VAA16031>
