Copy from home:coolo:branches:openSUSE:Factory:branched/cups via accept of submit request 23676 revision 2. Request was accepted with message: thanks coolo OBS-URL: https://build.opensuse.org/request/show/23676 OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=176
30 lines
1020 B
Diff
30 lines
1020 B
Diff
Index: cups-1.3.11/systemv/cupstestppd.c
|
|
===================================================================
|
|
--- cups-1.3.11.orig/systemv/cupstestppd.c
|
|
+++ cups-1.3.11/systemv/cupstestppd.c
|
|
@@ -129,6 +129,7 @@ main(int argc, /* I - Number of comm
|
|
int i, j, k, m, n; /* Looping vars */
|
|
int len; /* Length of option name */
|
|
char *opt; /* Option character */
|
|
+ char *ppdfilename; /* Pointer to actual PPD file */
|
|
const char *ptr; /* Pointer into string */
|
|
int files; /* Number of files */
|
|
int verbose; /* Want verbose output? */
|
|
@@ -375,6 +376,7 @@ main(int argc, /* I - Number of comm
|
|
|
|
errors = 0;
|
|
ppdversion = 43;
|
|
+ ppdfilename = argv[i];
|
|
|
|
if (verbose > 0)
|
|
_cupsLangPuts(stdout,
|
|
@@ -1171,7 +1173,7 @@ main(int argc, /* I - Number of comm
|
|
|
|
if (verbose >= 0)
|
|
{
|
|
- check_basics(argv[i]);
|
|
+ check_basics(ppdfilename);
|
|
|
|
if (warn & WARN_CONSTRAINTS)
|
|
errors = check_constraints(ppd, errors, verbose, 1);
|