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

Diff for /src/usr.bin/fsplit/Attic/fsplit.c between version 1.6 and 1.6.2.1

version 1.6, 2000/01/30 02:28:37 version 1.6.2.1, 2000/10/06 21:16:12
Line 168 
Line 168 
   
                 fd = open(x, O_CREAT|O_EXCL|O_RDWR, 0666);                  fd = open(x, O_CREAT|O_EXCL|O_RDWR, 0666);
                 if (fd == -1)                  if (fd == -1)
                         err(1, x);                          err(1, "%s", x);
                 ofp = fdopen(fd, "w");                  ofp = fdopen(fd, "w");
                 if (ofp == NULL) {                  if (ofp == NULL) {
                         close(fd);                          close(fd);
                         unlink(x);                          unlink(x);
                         err(1, x);                          err(1, "%s", x);
                 }                  }
                 nflag = 0;                  nflag = 0;
                 rv = 0;                  rv = 0;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.6.2.1