summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ");