Return to diff.c CVS log | Up to [local] / src / usr.bin / diff |
version 1.31, 2003/07/21 22:57:16 | version 1.32, 2003/07/21 23:02:35 | ||
---|---|---|---|
|
|
||
{ | { | ||
switch (val) { | switch (val) { | ||
case D_ONLY: | case D_ONLY: | ||
printf("Only in %s: %s\n", path1, entry); | /* must strip off the trailing '/' */ | ||
printf("Only in %.*s: %s\n", (int)(strlen(path1) - 1), | |||
path1, entry); | |||
break; | break; | ||
case D_COMMON: | case D_COMMON: | ||
printf("Common subdirectories: %s%s and %s%s\n", | printf("Common subdirectories: %s%s and %s%s\n", |