rpms/cups/devel cups-str3285.patch,NONE,1.1 cups.spec,1.497,1.498
Tim Waugh
twaugh at fedoraproject.org
Mon Aug 10 10:47:04 UTC 2009
- Previous message (by thread): rpms/vdr-sudoku/devel vdr-sudoku.spec,1.17,1.18
- Next message (by thread): rpms/loki-lib/devel .cvsignore, 1.2, 1.3 loki-lib.spec, 1.7, 1.8 sources, 1.2, 1.3 loki-gcc43.patch, 1.1, NONE loki-makefile-test-parallel.patch, 1.1, NONE loki-makefile-test.patch, 1.1, NONE loki-makefile.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: twaugh
Update of /cvs/pkgs/rpms/cups/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6000
Modified Files:
cups.spec
Added Files:
cups-str3285.patch
Log Message:
* Mon Aug 10 2009 Tim Waugh <twaugh at redhat.com> 1:1.4-0.rc1.14
- Fixed cupsGetNamedDest() so it does not fall back to the default
printer when a destination has been named (bug #516439, STR #3285).
cups-str3285.patch:
dest.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE cups-str3285.patch ---
diff -up cups-1.4rc1/cups/dest.c.str3285 cups-1.4rc1/cups/dest.c
--- cups-1.4rc1/cups/dest.c.str3285 2009-08-10 11:32:08.397714492 +0100
+++ cups-1.4rc1/cups/dest.c 2009-08-10 11:32:14.143839210 +0100
@@ -549,7 +549,7 @@ cupsGetNamedDest(http_t *http, /* I
if (!cups_get_sdests(http, op, name, 0, &dest))
{
- if (op == CUPS_GET_DEFAULT)
+ if (op == CUPS_GET_DEFAULT || name != NULL)
return (NULL);
/*
@@ -557,7 +557,7 @@ cupsGetNamedDest(http_t *http, /* I
* configuration file does not exist. Find out the real default.
*/
- if (!cups_get_sdests(http, CUPS_GET_DEFAULT, name, 0, &dest))
+ if (!cups_get_sdests(http, CUPS_GET_DEFAULT, NULL, 0, &dest))
return (NULL);
}
Index: cups.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cups/devel/cups.spec,v
retrieving revision 1.497
retrieving revision 1.498
diff -u -p -r1.497 -r1.498
--- cups.spec 10 Aug 2009 09:38:00 -0000 1.497
+++ cups.spec 10 Aug 2009 10:47:04 -0000 1.498
@@ -64,6 +64,7 @@ Patch36: cups-str3272.patch
Patch37: cups-avahi.patch
Patch38: cups-str3277.patch
Patch39: cups-str3284.patch
+Patch40: cups-str3285.patch
Patch100: cups-lspp.patch
Epoch: 1
Url: http://www.cups.org/
@@ -228,6 +229,7 @@ module.
%patch37 -p1 -b .avahi
%patch38 -p1 -b .str3277
%patch39 -p1 -b .str3284
+%patch40 -p1 -b .str3285
%if %lspp
%patch100 -p1 -b .lspp
@@ -523,6 +525,8 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Aug 10 2009 Tim Waugh <twaugh at redhat.com> 1:1.4-0.rc1.14
+- Fixed cupsGetNamedDest() so it does not fall back to the default
+ printer when a destination has been named (bug #516439, STR #3285).
- Fixed MIME type rules for image/jpeg and image/x-bitmap
(bug #516438, STR #3284).
- Clear out cache files on upgrade.
- Previous message (by thread): rpms/vdr-sudoku/devel vdr-sudoku.spec,1.17,1.18
- Next message (by thread): rpms/loki-lib/devel .cvsignore, 1.2, 1.3 loki-lib.spec, 1.7, 1.8 sources, 1.2, 1.3 loki-gcc43.patch, 1.1, NONE loki-makefile-test-parallel.patch, 1.1, NONE loki-makefile-test.patch, 1.1, NONE loki-makefile.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list