Date: Tue, 1 Aug 2006 21:20:19 GMT From: George Mitchell <george@m5p.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/99896: [patch] lpr -r flag has no effect Message-ID: <200608012120.k71LKJ8c059162@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/99896; it has been noted by GNATS.
From: George Mitchell <george@m5p.com>
To: bug-followup@FreeBSD.org, george@m5p.com
Cc:
Subject: Re: bin/99896: [patch] lpr -r flag has no effect
Date: Tue, 01 Aug 2006 14:08:50 -0700
To complete this fix, lprm also needs a patch as follows:
--- usr.sbin/lpr/common_source/rmjob.c.orig Thu Dec 30 16:36:28 2004
+++ usr.sbin/lpr/common_source/rmjob.c Sun Jul 30 18:14:01 2006
@@ -206,7 +206,7 @@
while (getline(cfp)) {
switch (line[0]) {
case 'U': /* unlink associated files */
- if (strchr(line+1, '/') || strncmp(line+1, "df", 2))
+ if (strncmp(line+1, "df", 2))
break;
do_unlink(line+1);
}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608012120.k71LKJ8c059162>
