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

Diff for /src/usr.bin/file/file.c between version 1.9 and 1.10

version 1.9, 2002/11/29 00:27:03 version 1.10, 2002/12/15 13:30:17
Line 316 
Line 316 
   
             if ((fd = open(inname, O_RDONLY)) < 0) {              if ((fd = open(inname, O_RDONLY)) < 0) {
                     /* We can't open it, but we were able to stat it. */                      /* We can't open it, but we were able to stat it. */
                     if (sb.st_mode & 0002) ckfputs("writeable, ", stdout);                      if (sb.st_mode & 0002) ckfputs("writable, ", stdout);
                     if (sb.st_mode & 0111) ckfputs("executable, ", stdout);                      if (sb.st_mode & 0111) ckfputs("executable, ", stdout);
                     ckfprintf(stdout, "can't read `%s' (%s).\n",                      ckfprintf(stdout, "can't read `%s' (%s).\n",
                         inname, strerror(errno));                          inname, strerror(errno));

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10