diff options
| author | Paul Eggert | 2012-10-06 19:26:03 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-10-06 19:26:03 -0700 |
| commit | c622b48f7894fc904cdc95edff47f2173240f0cf (patch) | |
| tree | 498fcede7d0dbde0fe60d338198396633ac433dd /src/ChangeLog | |
| parent | 559e479cbb1e1fb88325c90a22f7b7fdb5c3c95b (diff) | |
| download | emacs-c622b48f7894fc904cdc95edff47f2173240f0cf.tar.gz emacs-c622b48f7894fc904cdc95edff47f2173240f0cf.zip | |
Improve sys_siglist detection.
* configure.ac (sys_siglist): Look for its decl in <signal.h>.
Otherwise, it's not found in either Fedora 17 or Solaris 11.
* src/sysdep.c (sys_siglist, init_signals): Use _sys_siglist if it's
defined as a macro, as is done in Solaris.
(sys_siglist_entries): New macro.
(save_strsignal): Use it.
* src/syssignal.h (safe_strsignal): Now ATTRIBUTE_CONST, to pacify
GCC 4.7.2 on Fedora 17 with the fixed sys_siglist detection.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b960837eaab..a30dde5e4ea 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2012-10-07 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Improve sys_siglist detection. | ||
| 4 | * sysdep.c (sys_siglist, init_signals): Use _sys_siglist if it's | ||
| 5 | defined as a macro, as is done in Solaris. | ||
| 6 | (sys_siglist_entries): New macro. | ||
| 7 | (save_strsignal): Use it. | ||
| 8 | * syssignal.h (safe_strsignal): Now ATTRIBUTE_CONST, to pacify | ||
| 9 | GCC 4.7.2 on Fedora 17 with the fixed sys_siglist detection. | ||
| 10 | |||
| 1 | 2012-10-06 Jan Djärv <jan.h.d@swipnet.se> | 11 | 2012-10-06 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 12 | ||
| 3 | * nsfns.m (Fx_create_frame): Call x_default_parameter with | 13 | * nsfns.m (Fx_create_frame): Call x_default_parameter with |