~ubuntu-branches/ubuntu/natty/foomatic-filters/natty

« back to all changes in this revision

Viewing changes to debian/patches/foomatic-rip-read-multiple-input-files.patch

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2010-02-18 16:24:03 UTC
  • mfrom: (1.1.35 upstream) (2.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20100218162403-0tzm44ffs20hlnbi
Tags: 4.0.7-0ubuntu1
* New upstream release
   - foomatic-rip printed only the first file supplied on the command line
     when multiple files are supplied (spooler-less printing mode,
     LP: #676680).
* debian/patches/foomatic-rip-read-multiple-input-files.patch: Removed
  patches with fix backported from upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- a/foomaticrip.c
2
 
+++ b/foomaticrip.c
3
 
@@ -1383,7 +1383,7 @@
4
 
         dstrcpyf(filelist, "<STDIN>");
5
 
 
6
 
     /* Check filelist */
7
 
-    p = strtok(filelist->data, " ");
8
 
+    p = strtok(strdup(filelist->data), " ");
9
 
     while (p) {
10
 
         if (strcmp(p, "<STDIN>") != 0) {
11
 
             if (p[0] == '-')