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

Diff for /src/usr.bin/m4/eval.c between version 1.72 and 1.73

version 1.72, 2014/04/28 12:34:11 version 1.73, 2014/07/11 21:04:17
Line 817 
Line 817 
         if (outfile[n] == NULL) {          if (outfile[n] == NULL) {
                 char fname[] = _PATH_DIVNAME;                  char fname[] = _PATH_DIVNAME;
   
                 if ((fd = mkstemp(fname)) < 0 ||                  if ((fd = mkstemp(fname)) < 0 ||
                         (outfile[n] = fdopen(fd, "w+")) == NULL)                      unlink(fname) == -1 ||
                                 err(1, "%s: cannot divert", fname);                      (outfile[n] = fdopen(fd, "w+")) == NULL)
                 if (unlink(fname) == -1)                          err(1, "%s: cannot divert", fname);
                         err(1, "%s: cannot unlink", fname);  
         }          }
         active = outfile[n];          active = outfile[n];
 }  }

Legend:
Removed from v.1.72  
changed lines
  Added in v.1.73