You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
953 B
31 lines
953 B
diff -up cups-2.0rc1/cups/ppd.c.strict-ppd-line-length cups-2.0rc1/cups/ppd.c
|
|
--- cups-2.0rc1/cups/ppd.c.strict-ppd-line-length 2014-02-06 19:33:34.000000000 +0100
|
|
+++ cups-2.0rc1/cups/ppd.c 2014-09-12 18:07:44.227773710 +0200
|
|
@@ -2872,7 +2872,7 @@ ppd_read(cups_file_t *fp, /* I - Fil
|
|
*lineptr++ = (char)ch;
|
|
col ++;
|
|
|
|
- if (col > (PPD_MAX_LINE - 1))
|
|
+ if (col > (PPD_MAX_LINE - 1) && pg->ppd_conform == PPD_CONFORM_STRICT)
|
|
{
|
|
/*
|
|
* Line is too long...
|
|
@@ -2933,7 +2933,7 @@ ppd_read(cups_file_t *fp, /* I - Fil
|
|
{
|
|
col ++;
|
|
|
|
- if (col > (PPD_MAX_LINE - 1))
|
|
+ if (col > (PPD_MAX_LINE - 1) && pg->ppd_conform == PPD_CONFORM_STRICT)
|
|
{
|
|
/*
|
|
* Line is too long...
|
|
@@ -2992,7 +2992,7 @@ ppd_read(cups_file_t *fp, /* I - Fil
|
|
{
|
|
col ++;
|
|
|
|
- if (col > (PPD_MAX_LINE - 1))
|
|
+ if (col > (PPD_MAX_LINE - 1) && pg->ppd_conform == PPD_CONFORM_STRICT)
|
|
{
|
|
/*
|
|
* Line is too long...
|