# HG changeset patch # User Jim Blandy # Date 680313981 0 # Node ID 17ca8766781ab4f6af391f2a4f37ddd10a34543f # Parent 6506740942fa41dfb061a45d8ffcc7f61ea7410b *** empty log message *** diff -r 6506740942fa -r 17ca8766781a src/data.c --- a/src/data.c Tue Jul 23 23:29:49 1991 +0000 +++ b/src/data.c Wed Jul 24 00:06:21 1991 +0000 @@ -28,6 +28,8 @@ #include "buffer.h" #endif +#include "emacssignal.h" + #ifdef LISP_FLOAT_TYPE #include #endif /* LISP_FLOAT_TYPE */ @@ -1946,7 +1948,7 @@ #ifdef BSD4_1 sigrelse (SIGFPE); #else /* not BSD4_1 */ - sigsetmask (0); + sigsetmask (SIGEMPTYMASK); #endif /* not BSD4_1 */ Fsignal (Qarith_error, Qnil); diff -r 6506740942fa -r 17ca8766781a src/emacs.c --- a/src/emacs.c Tue Jul 23 23:29:49 1991 +0000 +++ b/src/emacs.c Wed Jul 24 00:06:21 1991 +0000 @@ -211,7 +211,10 @@ #endif #ifdef HAVE_X_WINDOWS - /* Stupid kludge to catch command-line display spec. ask jla */ + /* Stupid kludge to catch command-line display spec. We can't + handle this argument entirely in window system dependent code + because we don't even know which window system dependent code + to run until we've recognized this argument. */ { int i; @@ -334,6 +337,10 @@ noninteractive = 1; } +#ifdef POSIX_SIGNALS + init_signals (); +#endif + if ( #ifndef CANNOT_DUMP ! noninteractive || initialized @@ -406,7 +413,7 @@ #endif init_eval (); init_data (); - init_read (); + init_lread (); init_cmdargs (argc, argv, skip_args); /* Create list Vcommand_line_args */ init_buffer (); /* Init default directory of main buffer */ @@ -448,7 +455,7 @@ #ifdef MAINTAIN_ENVIRONMENT syms_of_environ (); #endif /* MAINTAIN_ENVIRONMENT */ - syms_of_read (); + syms_of_lread (); syms_of_print (); syms_of_eval (); syms_of_fns (); diff -r 6506740942fa -r 17ca8766781a src/xterm.h --- a/src/xterm.h Tue Jul 23 23:29:49 1991 +0000 +++ b/src/xterm.h Wed Jul 24 00:06:21 1991 +0000 @@ -148,10 +148,6 @@ during the current critical section. */ extern int x_pending_input; -#ifndef sigmask -#define sigmask(no) (1L << ((no) - 1)) -#endif - /* Begin critical section. */ #define BLOCK_INPUT (x_input_blocked++)