diff options
| author | Jim Blandy | 1992-05-10 18:15:10 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-05-10 18:15:10 +0000 |
| commit | e065a56e2d6322cba165ceb5c1d46cc59c5a5148 (patch) | |
| tree | 4b00ff121a271a6b9e8df84cf7eb1fb340be0e3d /src/alloc.c | |
| parent | 1b1f8f85bf08bd6b1cdb5ca8d731ff3b12ff60d2 (diff) | |
| download | emacs-e065a56e2d6322cba165ceb5c1d46cc59c5a5148.tar.gz emacs-e065a56e2d6322cba165ceb5c1d46cc59c5a5148.zip | |
*** empty log message ***
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/alloc.c b/src/alloc.c index b4637970dd7..9b7da1d0f5b 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -29,6 +29,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 29 | #endif /* MULTI_SCREEN */ | 29 | #endif /* MULTI_SCREEN */ |
| 30 | #endif | 30 | #endif |
| 31 | 31 | ||
| 32 | #include "syssignal.h" | ||
| 33 | |||
| 32 | #define max(A,B) ((A) > (B) ? (A) : (B)) | 34 | #define max(A,B) ((A) > (B) ? (A) : (B)) |
| 33 | 35 | ||
| 34 | /* Macro to verify that storage intended for Lisp objects is not | 36 | /* Macro to verify that storage intended for Lisp objects is not |
| @@ -549,11 +551,11 @@ DEFUN ("make-marker", Fmake_marker, Smake_marker, 0, 0, 0, | |||
| 549 | { | 551 | { |
| 550 | register Lisp_Object val; | 552 | register Lisp_Object val; |
| 551 | register struct Lisp_Marker *p; | 553 | register struct Lisp_Marker *p; |
| 554 | |||
| 552 | /* Detact the bug that seems to have caused this to be called from | 555 | /* Detact the bug that seems to have caused this to be called from |
| 553 | a signal handler. */ | 556 | a signal handler. */ |
| 554 | int mask, dummy; | 557 | SIGMASKTYPE mask; |
| 555 | EMACS_SIGSETMASK (-1, mask); | 558 | mask = sigblock (SIGEMPTYMASK); |
| 556 | EMACS_SIGSETMASK (mask, dummy); | ||
| 557 | if (mask != 0) | 559 | if (mask != 0) |
| 558 | abort (); | 560 | abort (); |
| 559 | 561 | ||