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

Diff for /src/usr.bin/rdist/expand.c between version 1.17 and 1.18

version 1.17, 2018/09/21 19:00:45 version 1.18, 2019/06/28 13:35:03
Line 354 
Line 354 
                         return;                          return;
                 goto patherr2;                  goto patherr2;
         }          }
         if (fstat(dirfd(dirp), &stb) < 0)          if (fstat(dirfd(dirp), &stb) == -1)
                 goto patherr1;                  goto patherr1;
         if (!S_ISDIR(stb.st_mode)) {          if (!S_ISDIR(stb.st_mode)) {
                 errno = ENOTDIR;                  errno = ENOTDIR;

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18