From owner-cvs-all Thu Sep 27 10:16:58 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 0879237B43C; Thu, 27 Sep 2001 10:16:54 -0700 (PDT) Received: (from gad@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8RHGsa68701; Thu, 27 Sep 2001 10:16:54 -0700 (PDT) (envelope-from gad) Message-Id: <200109271716.f8RHGsa68701@freefall.freebsd.org> From: Garance A Drosehn Date: Thu, 27 Sep 2001 10:16:53 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: 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/09/27 10:16:53 PDT Modified files: usr.sbin/lpr/lpc cmds.c Log: Basically rewrite the sortq() routine which is used by 'lpc clean' and 'lpc tclean'. In some obscure cases, the previous version could cause a valid user job to be removed (by 'clean'), due to invalid assumptions in the sort routine. This was a rare problem, unless ctlinfo.c is compiled with 'LEAVE_TMPCF_FILES' turned on (to check what that rtn was doing). Reviewed by: Lack of outcry on -audit and freebsd-print@bostonradio.org MFC after: 10 days Revision Changes Path 1.20 +126 -20 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