- Write printcap when a remote queue is deleted (bug #290831).

This commit is contained in:
Tim Waugh 2007-09-18 15:33:14 +00:00
parent c958724e80
commit 53ff0e0462
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,11 @@
diff -up cups-1.3.1/scheduler/dirsvc.c.printcap cups-1.3.1/scheduler/dirsvc.c
--- cups-1.3.1/scheduler/dirsvc.c.printcap 2007-09-18 16:29:18.000000000 +0100
+++ cups-1.3.1/scheduler/dirsvc.c 2007-09-18 16:29:19.000000000 +0100
@@ -2134,6 +2134,7 @@ process_browse_data(
cupsdDeletePrinter(p, 1);
cupsdUpdateImplicitClasses();
+ write_printcap = 1;
}
else if (update)
{

View File

@ -39,6 +39,7 @@ Patch13: cups-direct-usb.patch
Patch14: cups-lpr-help.patch Patch14: cups-lpr-help.patch
Patch15: cups-str2512.patch Patch15: cups-str2512.patch
Patch16: cups-pid.patch Patch16: cups-pid.patch
Patch17: cups-str2512-printcap.patch
Patch19: cups-eggcups.patch Patch19: cups-eggcups.patch
Patch20: cups-getpass.patch Patch20: cups-getpass.patch
Patch21: cups-driverd-timeout.patch Patch21: cups-driverd-timeout.patch
@ -149,6 +150,7 @@ lpd emulation.
%patch14 -p1 -b .lpr-help %patch14 -p1 -b .lpr-help
%patch15 -p1 -b .str2512 %patch15 -p1 -b .str2512
%patch16 -p1 -b .pid %patch16 -p1 -b .pid
%patch17 -p1 -b .str2512-printcap
%patch19 -p1 -b .eggcups %patch19 -p1 -b .eggcups
%patch20 -p1 -b .getpass %patch20 -p1 -b .getpass
%patch21 -p1 -b .driverd-timeout %patch21 -p1 -b .driverd-timeout
@ -441,6 +443,9 @@ rm -rf $RPM_BUILD_ROOT
%{cups_serverbin}/daemon/cups-lpd %{cups_serverbin}/daemon/cups-lpd
%changelog %changelog
* Tue Sep 18 2007 Tim Waugh <twaugh@redhat.com> 1:1.3.1-3
- Write printcap when a remote queue is deleted (bug #290831).
* Tue Sep 18 2007 Tim Waugh <twaugh@redhat.com> 1:1.3.1-2 * Tue Sep 18 2007 Tim Waugh <twaugh@redhat.com> 1:1.3.1-2
- Avoid write printcap unnecessarily (bug #290831). - Avoid write printcap unnecessarily (bug #290831).