From: nasm-bot f. C. G. <gor...@gm...> - 2018-06-06 21:15:22
|
Commit-ID: a7f318c307369f23d879c35984cf931befa89843 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=a7f318c307369f23d879c35984cf931befa89843 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Thu, 7 Jun 2018 00:06:58 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Thu, 7 Jun 2018 00:06:58 +0300 directive: Make cpu directive case insensitive back again During code suffle we occasionally made cpu directive to take letter case into account despite the documentation. https://bugzilla.nasm.us/show_bug.cgi?id=3392491 Reported-by: Rebecca Cran <re...@bl...> Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- asm/directiv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asm/directiv.c b/asm/directiv.c index fa800b9..567a6bd 100644 --- a/asm/directiv.c +++ b/asm/directiv.c @@ -102,7 +102,7 @@ static iflag_t get_cpu(const char *value) iflag_clear_all(&r); for (cpu = cpunames; cpu->name; cpu++) { - if (!strcmp(value, cpu->name)) + if (!nasm_stricmp(value, cpu->name)) break; } |