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

Diff for /src/usr.bin/file/Attic/fsmagic.c between version 1.11 and 1.12

version 1.11, 2005/05/18 03:11:18 version 1.12, 2008/05/08 01:40:56
Line 90 
Line 90 
                         file_error(ms, errno, "cannot stat `%s'", fn);                          file_error(ms, errno, "cannot stat `%s'", fn);
                         return -1;                          return -1;
                 }                  }
                 if (file_printf(ms, "cannot open (%s)",                  if (file_printf(ms, "cannot open `%s' (%s)",
                     strerror(errno)) == -1)                      fn, strerror(errno)) == -1)
                         return -1;                          return -1;
                 return 1;                  return 1;
         }          }
Line 182 
Line 182 
         /* TODO add code to handle V7 MUX and Blit MUX files */          /* TODO add code to handle V7 MUX and Blit MUX files */
 #ifdef  S_IFIFO  #ifdef  S_IFIFO
         case S_IFIFO:          case S_IFIFO:
                   if((ms->flags & MAGIC_DEVICES) != 0)
                           break;
                 if (file_printf(ms, "fifo (named pipe)") == -1)                  if (file_printf(ms, "fifo (named pipe)") == -1)
                         return -1;                          return -1;
                 return 1;                  return 1;

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12