Blame SOURCES/cups-strict-ppd-line-length.patch

ea9550
diff -up cups-1.5b1/cups/ppd.c.strict-ppd-line-length cups-1.5b1/cups/ppd.c
ea9550
--- cups-1.5b1/cups/ppd.c.strict-ppd-line-length	2011-05-20 05:49:49.000000000 +0200
ea9550
+++ cups-1.5b1/cups/ppd.c	2011-05-24 15:46:13.000000000 +0200
ea9550
@@ -2786,7 +2786,7 @@ ppd_read(cups_file_t    *fp,		/* I - Fil
ea9550
 	*lineptr++ = ch;
ea9550
 	col ++;
ea9550
 
ea9550
-	if (col > (PPD_MAX_LINE - 1))
ea9550
+	if (col > (PPD_MAX_LINE - 1) && cg->ppd_conform == PPD_CONFORM_STRICT)
ea9550
 	{
ea9550
 	 /*
ea9550
           * Line is too long...
ea9550
@@ -2847,7 +2847,7 @@ ppd_read(cups_file_t    *fp,		/* I - Fil
ea9550
 	{
ea9550
 	  col ++;
ea9550
 
ea9550
-	  if (col > (PPD_MAX_LINE - 1))
ea9550
+	  if (col > (PPD_MAX_LINE - 1) && cg->ppd_conform == PPD_CONFORM_STRICT)
ea9550
 	  {
ea9550
 	   /*
ea9550
             * Line is too long...
ea9550
@@ -2906,7 +2906,7 @@ ppd_read(cups_file_t    *fp,		/* I - Fil
ea9550
 	{
ea9550
 	  col ++;
ea9550
 
ea9550
-	  if (col > (PPD_MAX_LINE - 1))
ea9550
+	  if (col > (PPD_MAX_LINE - 1) && cg->ppd_conform == PPD_CONFORM_STRICT)
ea9550
 	  {
ea9550
 	   /*
ea9550
             * Line is too long...