aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorKim F. Storm2006-12-07 11:12:21 +0000
committerKim F. Storm2006-12-07 11:12:21 +0000
commitec0f21f465d055c10642e84ec58626c5ea8170c7 (patch)
tree9071d7665fc8e01fa3cb21c345cfaee593329ead /src/process.c
parentf7a706cf4a5457237a75c7c3ca971aec529188dc (diff)
downloademacs-ec0f21f465d055c10642e84ec58626c5ea8170c7.tar.gz
emacs-ec0f21f465d055c10642e84ec58626c5ea8170c7.zip
(parse_signal): Use xstricmp instead of strcasecmp.
(Fsignal_process): Don't use strncasecmp.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
1 files changed, 2 insertions, 2 deletions
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. */)
6148 got_it: 6148 got_it:
6149 6149
6150#define parse_signal(NAME, VALUE) \ 6150#define parse_signal(NAME, VALUE) \
6151 else if (!strcasecmp (name, NAME)) \ 6151 else if (!xstricmp (name, NAME)) \
6152 XSETINT (sigcode, VALUE) 6152 XSETINT (sigcode, VALUE)
6153 6153
6154 if (INTEGERP (sigcode)) 6154 if (INTEGERP (sigcode))
@@ -6160,7 +6160,7 @@ SIGCODE may be an integer, or a symbol whose name is a signal name. */)
6160 CHECK_SYMBOL (sigcode); 6160 CHECK_SYMBOL (sigcode);
6161 name = SDATA (SYMBOL_NAME (sigcode)); 6161 name = SDATA (SYMBOL_NAME (sigcode));
6162 6162
6163 if (!strncasecmp(name, "sig", 3)) 6163 if (!strncmp(name, "SIG", 3) || !strncmp(name, "sig", 3))
6164 name += 3; 6164 name += 3;
6165 6165
6166 if (0) 6166 if (0)