From owner-cvs-all Tue Nov 27 20:30:51 2001 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 7E96D37B419; Tue, 27 Nov 2001 20:30:48 -0800 (PST) Received: (from gad@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fAS4UmH12533; Tue, 27 Nov 2001 20:30:48 -0800 (PST) (envelope-from gad) Message-Id: <200111280430.fAS4UmH12533@freefall.freebsd.org> From: Garance A Drosehn Date: Tue, 27 Nov 2001 20:30:48 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/lpr/common_source ctlinfo.c src/usr.sbin/lpr/lpc cmds.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 2001/11/27 20:30:48 PST Modified files: usr.sbin/lpr/common_source ctlinfo.c usr.sbin/lpr/lpc cmds.c Log: My recent changes to add the ctl_renametf routine assumed that print job control-files will always start with 'cfA*'. It turns out that some implementations of lpd (such as solaris) may send a control file which starts with 'cfB*', or really 'cf*'. Although such filenames are very odd, we did used to accept them. This changes ctl_renametf to work correctly with them, and fixes up 'lpc clean' to match. PR: bin/32183 MFC after: 10 days Revision Changes Path 1.4 +16 -8 src/usr.sbin/lpr/common_source/ctlinfo.c 1.22 +23 -14 src/usr.sbin/lpr/lpc/cmds.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message