diff options
| author | Jim Blandy | 1991-07-24 00:06:21 +0000 |
|---|---|---|
| committer | Jim Blandy | 1991-07-24 00:06:21 +0000 |
| commit | fb8e984708c1ae363cdf8d7d1df5fde03746f8da (patch) | |
| tree | 8c42f5a2de043ba9fe751e4057b44235b4557e0d /src | |
| parent | 0ce259f5b14ece89d94fa484c3a12d0e0a062a49 (diff) | |
| download | emacs-fb8e984708c1ae363cdf8d7d1df5fde03746f8da.tar.gz emacs-fb8e984708c1ae363cdf8d7d1df5fde03746f8da.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/data.c | 4 | ||||
| -rw-r--r-- | src/emacs.c | 13 | ||||
| -rw-r--r-- | src/xterm.h | 4 |
3 files changed, 13 insertions, 8 deletions
diff --git a/src/data.c b/src/data.c index 9eb06132e4f..dba7d254aeb 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -28,6 +28,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 28 | #include "buffer.h" | 28 | #include "buffer.h" |
| 29 | #endif | 29 | #endif |
| 30 | 30 | ||
| 31 | #include "emacssignal.h" | ||
| 32 | |||
| 31 | #ifdef LISP_FLOAT_TYPE | 33 | #ifdef LISP_FLOAT_TYPE |
| 32 | #include <math.h> | 34 | #include <math.h> |
| 33 | #endif /* LISP_FLOAT_TYPE */ | 35 | #endif /* LISP_FLOAT_TYPE */ |
| @@ -1946,7 +1948,7 @@ arith_error (signo) | |||
| 1946 | #ifdef BSD4_1 | 1948 | #ifdef BSD4_1 |
| 1947 | sigrelse (SIGFPE); | 1949 | sigrelse (SIGFPE); |
| 1948 | #else /* not BSD4_1 */ | 1950 | #else /* not BSD4_1 */ |
| 1949 | sigsetmask (0); | 1951 | sigsetmask (SIGEMPTYMASK); |
| 1950 | #endif /* not BSD4_1 */ | 1952 | #endif /* not BSD4_1 */ |
| 1951 | 1953 | ||
| 1952 | Fsignal (Qarith_error, Qnil); | 1954 | Fsignal (Qarith_error, Qnil); |
diff --git a/src/emacs.c b/src/emacs.c index 0d6aa206590..3757d5ae6b2 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -211,7 +211,10 @@ main (argc, argv, envp) | |||
| 211 | #endif | 211 | #endif |
| 212 | 212 | ||
| 213 | #ifdef HAVE_X_WINDOWS | 213 | #ifdef HAVE_X_WINDOWS |
| 214 | /* Stupid kludge to catch command-line display spec. ask jla */ | 214 | /* Stupid kludge to catch command-line display spec. We can't |
| 215 | handle this argument entirely in window system dependent code | ||
| 216 | because we don't even know which window system dependent code | ||
| 217 | to run until we've recognized this argument. */ | ||
| 215 | { | 218 | { |
| 216 | int i; | 219 | int i; |
| 217 | 220 | ||
| @@ -334,6 +337,10 @@ main (argc, argv, envp) | |||
| 334 | noninteractive = 1; | 337 | noninteractive = 1; |
| 335 | } | 338 | } |
| 336 | 339 | ||
| 340 | #ifdef POSIX_SIGNALS | ||
| 341 | init_signals (); | ||
| 342 | #endif | ||
| 343 | |||
| 337 | if ( | 344 | if ( |
| 338 | #ifndef CANNOT_DUMP | 345 | #ifndef CANNOT_DUMP |
| 339 | ! noninteractive || initialized | 346 | ! noninteractive || initialized |
| @@ -406,7 +413,7 @@ main (argc, argv, envp) | |||
| 406 | #endif | 413 | #endif |
| 407 | init_eval (); | 414 | init_eval (); |
| 408 | init_data (); | 415 | init_data (); |
| 409 | init_read (); | 416 | init_lread (); |
| 410 | 417 | ||
| 411 | init_cmdargs (argc, argv, skip_args); /* Create list Vcommand_line_args */ | 418 | init_cmdargs (argc, argv, skip_args); /* Create list Vcommand_line_args */ |
| 412 | init_buffer (); /* Init default directory of main buffer */ | 419 | init_buffer (); /* Init default directory of main buffer */ |
| @@ -448,7 +455,7 @@ main (argc, argv, envp) | |||
| 448 | #ifdef MAINTAIN_ENVIRONMENT | 455 | #ifdef MAINTAIN_ENVIRONMENT |
| 449 | syms_of_environ (); | 456 | syms_of_environ (); |
| 450 | #endif /* MAINTAIN_ENVIRONMENT */ | 457 | #endif /* MAINTAIN_ENVIRONMENT */ |
| 451 | syms_of_read (); | 458 | syms_of_lread (); |
| 452 | syms_of_print (); | 459 | syms_of_print (); |
| 453 | syms_of_eval (); | 460 | syms_of_eval (); |
| 454 | syms_of_fns (); | 461 | syms_of_fns (); |
diff --git a/src/xterm.h b/src/xterm.h index dd367cfe7dd..58d3dd878e0 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -148,10 +148,6 @@ extern int x_input_blocked; | |||
| 148 | during the current critical section. */ | 148 | during the current critical section. */ |
| 149 | extern int x_pending_input; | 149 | extern int x_pending_input; |
| 150 | 150 | ||
| 151 | #ifndef sigmask | ||
| 152 | #define sigmask(no) (1L << ((no) - 1)) | ||
| 153 | #endif | ||
| 154 | |||
| 155 | /* Begin critical section. */ | 151 | /* Begin critical section. */ |
| 156 | #define BLOCK_INPUT (x_input_blocked++) | 152 | #define BLOCK_INPUT (x_input_blocked++) |
| 157 | 153 | ||