提交 c15e0363 编写于 作者: B Bodo Möller

use case-insensitive comparison in set_table_opts

(similar to how arguments such as -inform/-outform specifications
are treated)
上级 ccb08f98
......@@ -806,7 +806,7 @@ static int set_table_opts(unsigned long *flags, const char *arg, const NAME_EX_T
} else c = 1;
for(ptbl = in_tbl; ptbl->name; ptbl++) {
if(!strcmp(arg, ptbl->name)) {
if(!strcasecmp(arg, ptbl->name)) {
*flags &= ~ptbl->mask;
if(c) *flags |= ptbl->flag;
else *flags &= ~ptbl->flag;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册