summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lawrence <lawrencc@debian.org>2009-03-06 15:09:42 -0600
committerDidier Raboud <didier@raboud.com>2010-05-23 00:08:52 +0200
commit845a50980e8a88b1619c6b0b7dce27e13e0e0d7c (patch)
tree6edb0dc377e927f06c8b6e10efd7613387f20ad3
parentbaa466e277f28aca7e9a27d7fd30c193d1996c0f (diff)
Imported Debian patch 4.0-20090301-2debian/4.0-20090301-2
-rw-r--r--debian/changelog8
-rw-r--r--renderer.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 850647f..ccbbfd4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+foomatic-filters (4.0-20090301-2) unstable; urgency=low
+
+ * Fix bug in foomatic-rip that could leave two 'gs' calls in the command
+ line if gs was not at the beginning; common in Foomatic 3.x-generated
+ PPD files for PostScript printers. (Closes: #518362)
+
+ -- Chris Lawrence <lawrencc@debian.org> Fri, 06 Mar 2009 15:09:42 -0600
+
foomatic-filters (4.0-20090301-1) unstable; urgency=low
* New upstream release.
diff --git a/renderer.c b/renderer.c
index 57f7281..f003206 100644
--- a/renderer.c
+++ b/renderer.c
@@ -86,7 +86,7 @@ void massage_gs_commandline(dstr_t *cmd)
or ''"'"'xy' or 'xy'"'"'' or ... */
/* dstrreplace(cmd, "'", "'\"'\"'"); TODO tbd */
- dstrremove(gscmd, start, 2); /* Remove 'gs' */
+ dstrremove(gscmd, 0, 2); /* Remove 'gs' */
if (gswithoutputredirection)
{
dstrprepend(gscmd, " -sstdout=%stderr ");