]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
PPD files with "*JobPatchFile: bla" no longer fail to load in relaxed
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 7 Jan 2011 23:40:21 +0000 (23:40 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 7 Jan 2011 23:40:21 +0000 (23:40 +0000)
conformance mode (STR #3747)

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@9440 7a7537e8-13f0-0310-91df-b6672ffda945

CHANGES-1.4.txt
cups/ppd.c

index c087cfec1c9009d316ac48c82feceb5827fa72d1..4aabe755cf85e88d3bd1652681705c8748942e30 100644 (file)
@@ -4,6 +4,8 @@ CHANGES-1.4.txt
 CHANGES IN CUPS V1.4.7
 
        - Documentation changes (STR #3710, STR #3720, STR #3745)
+       - PPD files with "*JobPatchFile: bla" no longer fail to load in relaxed
+         conformance mode (STR #3747)
        - The scheduler generated a bad notify-text string for printer state
          change notifications (STR #3739)
        - The scheduler incorrectly updated printers.conf when it really needed
index 4da685327e13dad95ab806dcaff57eeee6e47d7a..1173d80aedc40431992118e53b19e070acae80c9 100644 (file)
@@ -1204,7 +1204,7 @@ ppdOpen2(cups_file_t *fp)         /* I - File to read from */
         }
       }
 
-      if (!name[0])
+      if (!name[0] && cg->ppd_conform == PPD_CONFORM_STRICT)
       {
        /*
         * Found "*JobPatchFile: string"...