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

Diff for /src/usr.bin/diff/diffdir.c between version 1.22 and 1.23

version 1.22, 2003/07/09 00:07:44 version 1.23, 2003/07/21 22:57:17
Line 138 
Line 138 
                 }                  }
         }          }
         if (lflag) {          if (lflag) {
                 path1[dirlen1 - 1] = '\0';                  path1[dirlen1] = '\0';
                 path2[dirlen2 - 1] = '\0';                  path2[dirlen2] = '\0';
                 for (dp1 = dirp1; (dent1 = *dp1) != NULL; dp1++) {                  for (dp1 = dirp1; (dent1 = *dp1) != NULL; dp1++) {
                         print_status(dent1->d_status, path1, path2,                          print_status(dent1->d_status, path1, path2,
                             dent1->d_name);                              dent1->d_name);
Line 291 
Line 291 
                 return;                  return;
         }          }
         dp->d_status = diffreg(path1, path2, flags);          dp->d_status = diffreg(path1, path2, flags);
           if (!lflag)
                   print_status(dp->d_status, path1, path2, NULL);
 }  }
   
 /*  /*

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23