]> granicus.if.org Git - recode/commitdiff
Copy subtask output to task
authorFrançois Pinard <pinard@iro.umontreal.ca>
Fri, 22 Feb 2008 02:07:13 +0000 (21:07 -0500)
committerFrançois Pinard <pinard@iro.umontreal.ca>
Fri, 22 Feb 2008 02:07:13 +0000 (21:07 -0500)
src/ChangeLog
src/task.c

index c941fcc1e3b8d29f85e1989f7cabeb8ac6b1d80a..2466cf4bf1db5bebc4acbf7fd3eb7751ceaed129 100644 (file)
@@ -3,6 +3,10 @@
        * Makefile.am (recode.1): Use --name calling help2man.
        Reported by Dan Jacobson.
 
+       * task.c (recode_perform_task): Subtask output pointers were
+       not copied into task output.
+       Reported by Enrik Berkhan and Frederic Gobry.
+
 2008-02-16  François Pinard  <pinard@iro.umontreal.ca>
 
        * ansi2knr.c: Modified by Automake 1.10.
index d23d4fb947d85c438ad24a40f69138183d7a924f..b4c4917f6f9ccebcc2fc2c3277b0a2a4322daba9 100644 (file)
@@ -1204,6 +1204,8 @@ recode_perform_task (RECODE_TASK task)
       else
        success = transform_mere_copy (subtask);
 
+      task->output = subtask->output;
+
       if (subtask->input.name && *subtask->input.name)
        fclose (subtask->input.file);
       if (subtask->output.name && *subtask->output.name)