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

Diff for /src/usr.bin/diff/diff.c between version 1.46 and 1.47

version 1.46, 2004/06/20 18:47:45 version 1.47, 2004/12/07 11:53:29
Line 247 
Line 247 
                 err(2, "%s", argv[1]);                  err(2, "%s", argv[1]);
         if (gotstdin && (S_ISDIR(stb1.st_mode) || S_ISDIR(stb2.st_mode)))          if (gotstdin && (S_ISDIR(stb1.st_mode) || S_ISDIR(stb2.st_mode)))
                 errx(2, "can't compare - to a directory");                  errx(2, "can't compare - to a directory");
         set_argstr(oargv + 1, argv);          set_argstr(oargv, argv);
         if (S_ISDIR(stb1.st_mode) && S_ISDIR(stb2.st_mode)) {          if (S_ISDIR(stb1.st_mode) && S_ISDIR(stb2.st_mode)) {
                 if (format == D_IFDEF)                  if (format == D_IFDEF)
                         errx(2, "-D option not supported with directories");                          errx(2, "-D option not supported with directories");

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47