packages: cups/ipp-revert-1.4.patch - use new functions
baggins
baggins at pld-linux.org
Mon Feb 6 19:45:30 CET 2012
Author: baggins Date: Mon Feb 6 18:45:30 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- use new functions
---- Files affected:
packages/cups:
ipp-revert-1.4.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/cups/ipp-revert-1.4.patch
diff -u packages/cups/ipp-revert-1.4.patch:1.1 packages/cups/ipp-revert-1.4.patch:1.2
--- packages/cups/ipp-revert-1.4.patch:1.1 Mon Feb 6 19:39:41 2012
+++ packages/cups/ipp-revert-1.4.patch Mon Feb 6 19:45:25 2012
@@ -530,7 +530,7 @@
+
+ if ((fd = cupsTempFd(tmpfilename, sizeof(tmpfilename))) < 0)
+ {
-+ _cupsLangPrintError(_("ERROR: Unable to create temporary file"));
++ _cupsLangPrintError("ERROR", _("Unable to create temporary file"));
+ return (CUPS_BACKEND_FAILED);
+ }
+
@@ -2833,7 +2833,7 @@
+ if ((fd = cupsTempFd(pstmpname, sizeof(pstmpname))) < 0)
{
- status = xpc_dictionary_get_int64(response, "status");
-+ _cupsLangPrintError(_("ERROR: Unable to create temporary file"));
++ _cupsLangPrintError("ERROR", _("Unable to create temporary file"));
+ if (ppdfile)
+ unlink(ppdfile);
+ return (-1);
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cups/ipp-revert-1.4.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list