diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 49 |
1 files changed, 2 insertions, 47 deletions
diff --git a/src/process.c b/src/process.c index 463dc44be2f..9fa3c19df2d 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -146,7 +146,6 @@ Lisp_Object Qlast_nonmenu_event; | |||
| 146 | extern void set_waiting_for_input P_ ((EMACS_TIME *)); | 146 | extern void set_waiting_for_input P_ ((EMACS_TIME *)); |
| 147 | 147 | ||
| 148 | extern int errno; | 148 | extern int errno; |
| 149 | extern char *strerror (); | ||
| 150 | #ifdef VMS | 149 | #ifdef VMS |
| 151 | extern char *sys_errlist[]; | 150 | extern char *sys_errlist[]; |
| 152 | #endif | 151 | #endif |
| @@ -155,50 +154,6 @@ extern char *sys_errlist[]; | |||
| 155 | extern int h_errno; | 154 | extern int h_errno; |
| 156 | #endif | 155 | #endif |
| 157 | 156 | ||
| 158 | #ifndef HAVE_STRSIGNAL | ||
| 159 | #ifndef SYS_SIGLIST_DECLARED | ||
| 160 | #ifndef VMS | ||
| 161 | #ifndef BSD4_1 | ||
| 162 | #ifndef WINDOWSNT | ||
| 163 | #ifndef LINUX | ||
| 164 | extern char *sys_siglist[]; | ||
| 165 | #endif /* not LINUX */ | ||
| 166 | #else /* BSD4_1 */ | ||
| 167 | char *sys_siglist[] = | ||
| 168 | { | ||
| 169 | "bum signal!!", | ||
| 170 | "hangup", | ||
| 171 | "interrupt", | ||
| 172 | "quit", | ||
| 173 | "illegal instruction", | ||
| 174 | "trace trap", | ||
| 175 | "iot instruction", | ||
| 176 | "emt instruction", | ||
| 177 | "floating point exception", | ||
| 178 | "kill", | ||
| 179 | "bus error", | ||
| 180 | "segmentation violation", | ||
| 181 | "bad argument to system call", | ||
| 182 | "write on a pipe with no one to read it", | ||
| 183 | "alarm clock", | ||
| 184 | "software termination signal from kill", | ||
| 185 | "status signal", | ||
| 186 | "sendable stop signal not from tty", | ||
| 187 | "stop signal from tty", | ||
| 188 | "continue a stopped process", | ||
| 189 | "child status has changed", | ||
| 190 | "background read attempted from control tty", | ||
| 191 | "background write attempted from control tty", | ||
| 192 | "input record available at control tty", | ||
| 193 | "exceeded CPU time limit", | ||
| 194 | "exceeded file size limit" | ||
| 195 | }; | ||
| 196 | #endif /* not WINDOWSNT */ | ||
| 197 | #endif | ||
| 198 | #endif /* VMS */ | ||
| 199 | #endif /* ! SYS_SIGLIST_DECLARED */ | ||
| 200 | #endif /* ! HAVE_STRSIGNAL */ | ||
| 201 | |||
| 202 | /* t means use pty, nil means use a pipe, | 157 | /* t means use pty, nil means use a pipe, |
| 203 | maybe other values to come. */ | 158 | maybe other values to come. */ |
| 204 | static Lisp_Object Vprocess_connection_type; | 159 | static Lisp_Object Vprocess_connection_type; |
| @@ -360,7 +315,7 @@ status_message (status) | |||
| 360 | if (EQ (symbol, Qsignal) || EQ (symbol, Qstop)) | 315 | if (EQ (symbol, Qsignal) || EQ (symbol, Qstop)) |
| 361 | { | 316 | { |
| 362 | char *signame; | 317 | char *signame; |
| 363 | synchronize_messages_locale (); | 318 | synchronize_system_messages_locale (); |
| 364 | signame = strsignal (code); | 319 | signame = strsignal (code); |
| 365 | if (signame == 0) | 320 | if (signame == 0) |
| 366 | signame = "unknown"; | 321 | signame = "unknown"; |
| @@ -4254,7 +4209,7 @@ sigchld_handler (signo) | |||
| 4254 | int code = WTERMSIG (w); | 4209 | int code = WTERMSIG (w); |
| 4255 | char *signame; | 4210 | char *signame; |
| 4256 | 4211 | ||
| 4257 | synchronize_messages_locale (); | 4212 | synchronize_system_messages_locale (); |
| 4258 | signame = strsignal (code); | 4213 | signame = strsignal (code); |
| 4259 | 4214 | ||
| 4260 | if (signame == 0) | 4215 | if (signame == 0) |