      // we are starting map/reduce task of the pipes job. this is not a cleanup
      // attempt. 
      File stdout = TaskLog.getTaskLogFile(taskid, false, TaskLog.LogName.STDOUT);
-diff -urN src/hadoop-1.0.4/pipes/impl/HadoopPipes.cc src/hadoop-1.0.4.patched/pipes/impl/HadoopPipes.cc
---- src/hadoop-1.0.4/pipes/impl/HadoopPipes.cc	2012-12-03 19:17:41.471432541 +0100
-+++ src/hadoop-1.0.4.patched/pipes/impl/HadoopPipes.cc	2013-02-14 00:00:15.745377986 +0100
+diff --git a/pipes/impl/HadoopPipes.cc b/pipes/impl/HadoopPipes.cc
+index 964b025..10f054f 100644
+--- a/pipes/impl/HadoopPipes.cc
++++ b/pipes/impl/HadoopPipes.cc
 @@ -30,6 +30,7 @@
  #include <stdlib.h>
  #include <string.h>

 #include <sys/socket.h>
 #include <pthread.h>
 #include <iostream>
@@ -126,7 +127,7 @@
     static const char lineSeparator = '\n';
 
     void writeBuffer(const string& buffer) {

     writePasswordToLocalFile(localPasswordFile, password, conf);
     env.put("hadoop.pipes.shared.secret.location", localPasswordFile);
  
@@ -120,7 +128,6 @@ class Application<K1 extends WritableComparable, V1 extends Writable,
     }
     cmd.add(executable);
     // wrap the command in a stdout/stderr capture
