Replace all usage of strcasecmp/strncasecmp
All current usages of it are incompatible with localization.
For example strcasecmp("i", "I") != 0 is possible, but would
break many of the places where it is used.
Instead use our own implementations that always treat the data
as ASCII.
Signed-off-by: NMartin Storsjö <martin@martin.st>
Showing
此差异已折叠。
想要评论请 注册 或 登录