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

Diff for /src/usr.bin/cvs/diff.c between version 1.163 and 1.164

version 1.163, 2017/06/01 08:08:24 version 1.164, 2021/10/24 21:24:16
Line 586 
Line 586 
         }          }
   
         if (fd1 == -1) {          if (fd1 == -1) {
                 if ((fd1 = open(CVS_PATH_DEVNULL, O_RDONLY, 0)) == -1)                  if ((fd1 = open(CVS_PATH_DEVNULL, O_RDONLY)) == -1)
                         fatal("cannot open %s", CVS_PATH_DEVNULL);                          fatal("cannot open %s", CVS_PATH_DEVNULL);
         }          }
         if (fd2 == -1) {          if (fd2 == -1) {
                 if ((fd2 = open(CVS_PATH_DEVNULL, O_RDONLY, 0)) == -1)                  if ((fd2 = open(CVS_PATH_DEVNULL, O_RDONLY)) == -1)
                         fatal("cannot open %s", CVS_PATH_DEVNULL);                          fatal("cannot open %s", CVS_PATH_DEVNULL);
         }          }
   

Legend:
Removed from v.1.163  
changed lines
  Added in v.1.164