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

Diff for /src/usr.bin/oldrdist/Attic/docmd.c between version 1.9 and 1.10

version 1.9, 1997/11/05 09:43:39 version 1.10, 1997/11/16 18:51:59
Line 401 
Line 401 
   
                 if ((fd = open(tempfile, O_CREAT|O_EXCL|O_WRONLY, 0600)) < 0 ||                  if ((fd = open(tempfile, O_CREAT|O_EXCL|O_WRONLY, 0600)) < 0 ||
                     (tfp = fdopen(fd, "w")) == NULL) {                      (tfp = fdopen(fd, "w")) == NULL) {
                         error("%s: %s\n", stamp, strerror(errno));                          error("%s: %s\n", tempfile, strerror(errno));
                         if (fd >= 0)                          if (fd >= 0)
                                 (void) close(fd);                                  (void) close(fd);
                         return;                          return;

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10