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

Diff for /src/usr.bin/sdiff/sdiff.c between version 1.24 and 1.25

version 1.24, 2009/06/07 12:39:40 version 1.25, 2009/06/07 13:06:02
Line 109 
Line 109 
                         err(2, "error getting file status from %s", source_file);                          err(2, "error getting file status from %s", source_file);
   
                 /* Regular file. */                  /* Regular file. */
                 if (S_ISREG(sb.st_mode))                  if (S_ISREG(sb.st_mode)) {
                           close(ifd);
                         return (NULL);                          return (NULL);
                   }
         } else {          } else {
                 /* If ``-'' does not exist the user meant stdin. */                  /* If ``-'' does not exist the user meant stdin. */
                 if (errno == ENOENT && strcmp(source_file, "-") == 0)                  if (errno == ENOENT && strcmp(source_file, "-") == 0)

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25