diff options
| author | Dmitry Gutov | 2023-05-06 03:41:54 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2023-05-06 03:41:54 +0300 |
| commit | 0c6311386a12560c6578ffe50996c1f2c841ddfe (patch) | |
| tree | 9d607340c827e809c61c194cfd65cbc89778dd55 /src | |
| parent | 3baab6c432b7763f5435a0f4ffb055d2e33fab69 (diff) | |
| parent | 79a886ba36837c0e13d83172ab33c1c2680c6e62 (diff) | |
| download | emacs-0c6311386a12560c6578ffe50996c1f2c841ddfe.tar.gz emacs-0c6311386a12560c6578ffe50996c1f2c841ddfe.zip | |
Merge from origin/emacs-29
79a886ba368 (package-upgrade): Don't remove the package from 'package...
c0ab4e9ca93 Eglot: re-rename eglot-upgrade to eglot-upgrade-eglot
b4e90070f96 Fix arguments of xml.c functions as displayed in Help buf...
b1bda8228e5 More fixes for NetBSD/vax
a2d4cd06f45 Improve VHDL mode highlighting
2f3a514b6db Clarify documentation wrt floating point division by zero...
94e984e6700 Make loaddefs-generate slightly more tolerant
aba41d2c4bb ; Minor doc cleanups in go-ts-mode.el
b42ccb2e5c1 ; Minor grammar fix in treesit manual.
ab44c8a6f9d Fix order of rcirc-connect arguments
8eb6e33691d Fix rcirc messages printing in the wrong place
2901a3443c7 Prevent unnecessary modifications of 'package-vc-selected...
eaad302bd6f Rename eglot-update to eglot-upgrade
eaf25b9c6ae go-ts-mode: Use iota query only if supported (Bug#63086)
cc090294d77 (rng-complete-tag): Add the (ignored) argument to the :co...
21ec6c1d5cc Update to Transient v0.3.7-219-g3ded15b
8d5aa8df4ad Fix inserting selection data into Mozilla programs
57562c3fd0a Recognize defstruct slot names in various eieio functions
b93eb68cc30 Use 'calendar-buffer' instead of fixed string
# Conflicts:
# etc/EGLOT-NEWS
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index a5b3117d262..443602a2d6d 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -2005,7 +2005,9 @@ init_signals (void) | |||
| 2005 | signal (SIGPIPE, SIG_IGN); | 2005 | signal (SIGPIPE, SIG_IGN); |
| 2006 | 2006 | ||
| 2007 | sigaction (SIGQUIT, &process_fatal_action, 0); | 2007 | sigaction (SIGQUIT, &process_fatal_action, 0); |
| 2008 | #ifndef __vax__ | ||
| 2008 | sigaction (SIGILL, &thread_fatal_action, 0); | 2009 | sigaction (SIGILL, &thread_fatal_action, 0); |
| 2010 | #endif /* __vax__ */ | ||
| 2009 | sigaction (SIGTRAP, &thread_fatal_action, 0); | 2011 | sigaction (SIGTRAP, &thread_fatal_action, 0); |
| 2010 | 2012 | ||
| 2011 | /* Typically SIGFPE is thread-specific and is fatal, like SIGILL. | 2013 | /* Typically SIGFPE is thread-specific and is fatal, like SIGILL. |
| @@ -2018,6 +2020,11 @@ init_signals (void) | |||
| 2018 | { | 2020 | { |
| 2019 | emacs_sigaction_init (&action, deliver_arith_signal); | 2021 | emacs_sigaction_init (&action, deliver_arith_signal); |
| 2020 | sigaction (SIGFPE, &action, 0); | 2022 | sigaction (SIGFPE, &action, 0); |
| 2023 | #ifdef __vax__ | ||
| 2024 | /* NetBSD/vax generates SIGILL upon some floating point errors, | ||
| 2025 | such as taking the log of 0.0. */ | ||
| 2026 | sigaction (SIGILL, &action, 0); | ||
| 2027 | #endif /* __vax__ */ | ||
| 2021 | } | 2028 | } |
| 2022 | 2029 | ||
| 2023 | #ifdef SIGUSR1 | 2030 | #ifdef SIGUSR1 |