Return to magic-test.c CVS log | Up to [local] / src / usr.bin / file |
version 1.3, 2015/04/25 16:35:47 | version 1.4, 2015/05/29 14:52:10 | ||
---|---|---|---|
|
|
||
{ | { | ||
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); | ||
} | } |