version 1.22, 2003/07/09 00:07:44 |
version 1.23, 2003/07/21 22:57:17 |
|
|
} |
} |
} |
} |
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); |
|
|
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); |
} |
} |
|
|
/* |
/* |