From owner-cvs-all Sun Nov 12 21:44:53 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 B81D637B479; Sun, 12 Nov 2000 21:44:50 -0800 (PST) Received: (from gad@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA16031; Sun, 12 Nov 2000 21:44:50 -0800 (PST) (envelope-from gad@FreeBSD.org) Message-Id: <200011130544.VAA16031@freefall.freebsd.org> From: Garance A Drosehn Date: Sun, 12 Nov 2000 21:44:50 -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 X-Loop: FreeBSD.ORG 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