[BACK]Return to pch.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / patch

Diff for /src/usr.bin/patch/pch.c between version 1.26 and 1.27

version 1.26, 2003/07/28 19:15:34 version 1.27, 2003/07/29 20:10:17
Line 17 
Line 17 
 #include "common.h"  #include "common.h"
 #include "util.h"  #include "util.h"
 #include "pch.h"  #include "pch.h"
   #include "pathnames.h"
   
 /* Patch (diff listing) abstract type. */  /* Patch (diff listing) abstract type. */
   
Line 1320 
Line 1321 
                         unlink(TMPOUTNAME);                          unlink(TMPOUTNAME);
                         fatal("can't create temp file %s", TMPOUTNAME);                          fatal("can't create temp file %s", TMPOUTNAME);
                 }                  }
                 if (verbose)                  snprintf(buf, sizeof buf, "%s%s%s", _PATH_ED,
                         snprintf(buf, sizeof buf, "/bin/ed %s", TMPOUTNAME);                      verbose ? " " : " -s ", TMPOUTNAME);
                 else  
                         snprintf(buf, sizeof buf, "/bin/ed - %s", TMPOUTNAME);  
                 pipefp = popen(buf, "w");                  pipefp = popen(buf, "w");
         }          }
         for (;;) {          for (;;) {

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27