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

Diff for /src/usr.bin/file/magic-test.c between version 1.3 and 1.4

version 1.3, 2015/04/25 16:35:47 version 1.4, 2015/05/29 14:52:10
Line 38 
Line 38 
 {  {
         if (a == b)          if (a == b)
                 return (1);                  return (1);
         if (cflag && tolower((u_char)a) == tolower((u_char)b))          if (cflag && islower((u_char)b) && tolower((u_char)a) == (u_char)b)
                 return (1);                  return (1);
         return (0);          return (0);
 }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4