From: Kim F. Storm Date: Thu, 7 Dec 2006 11:12:21 +0000 (+0000) Subject: (parse_signal): Use xstricmp instead of strcasecmp. X-Git-Tag: emacs-pretest-22.0.92~260 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ec0f21f465d055c10642e84ec58626c5ea8170c7;p=emacs.git (parse_signal): Use xstricmp instead of strcasecmp. (Fsignal_process): Don't use strncasecmp. --- diff --git a/src/process.c b/src/process.c index 4abf1de79a2..0ea27ded7df 100644 --- a/src/process.c +++ b/src/process.c @@ -6148,7 +6148,7 @@ SIGCODE may be an integer, or a symbol whose name is a signal name. */) got_it: #define parse_signal(NAME, VALUE) \ - else if (!strcasecmp (name, NAME)) \ + else if (!xstricmp (name, NAME)) \ XSETINT (sigcode, VALUE) if (INTEGERP (sigcode)) @@ -6160,7 +6160,7 @@ SIGCODE may be an integer, or a symbol whose name is a signal name. */) CHECK_SYMBOL (sigcode); name = SDATA (SYMBOL_NAME (sigcode)); - if (!strncasecmp(name, "sig", 3)) + if (!strncmp(name, "SIG", 3) || !strncmp(name, "sig", 3)) name += 3; if (0)