Commit ec0f21f4 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(parse_signal): Use xstricmp instead of strcasecmp.

(Fsignal_process): Don't use strncasecmp.
parent f7a706cf
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment