Lines 568-578
Link Here
|
568 |
pm_message("execing '%s' with args '%s' (arg 0), " |
568 |
pm_message("execing '%s' with args '%s' (arg 0), " |
569 |
"'%s', '%s', '%s', '%s', '%s', '%s', '%s'", |
569 |
"'%s', '%s', '%s', '%s', '%s', '%s', '%s'", |
570 |
ghostscriptProg, arg0, |
570 |
ghostscriptProg, arg0, |
571 |
deviceopt, outfileopt, gopt, ropt, "-q", "-dNOPAUSE", "-"); |
571 |
deviceopt, outfileopt, gopt, ropt, "-q", "-dNOPAUSE", "-dSAFER", "-"); |
572 |
} |
572 |
} |
573 |
|
573 |
|
574 |
execl(ghostscriptProg, arg0, deviceopt, outfileopt, gopt, ropt, "-q", |
574 |
execl(ghostscriptProg, arg0, deviceopt, outfileopt, gopt, ropt, "-q", |
575 |
"-dNOPAUSE", "-", NULL); |
575 |
"-dNOPAUSE", "-dSAFER", "-", NULL); |
576 |
|
576 |
|
577 |
pm_error("execl() of Ghostscript ('%s') failed, errno=%d (%s)", |
577 |
pm_error("execl() of Ghostscript ('%s') failed, errno=%d (%s)", |
578 |
ghostscriptProg, errno, strerror(errno)); |
578 |
ghostscriptProg, errno, strerror(errno)); |