]> git.eshelyaron.com Git - emacs.git/commit
Simplify by using Gnulib sigdescr_np module
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 23 Aug 2020 21:59:15 +0000 (14:59 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 23 Aug 2020 22:01:51 +0000 (15:01 -0700)
commitdf589d36817a8804d67f133890b2f453aefdf3c1
tree0cb06033b33420f78871abe26af3b00cffdc03be
parent42ec41251584c480ee3286ff369c18629f52a7d5
Simplify by using Gnulib sigdescr_np module

Inspired by a straightforward patch by Bruno Haible.
* admin/merge-gnulib (GNULIB_MODULES): Add sigdescr_np.
* configure.ac: Do not check for sys_siglist or __sys_siglist.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* lib/sigdescr_np.c, m4/sigdescr_np.m4: New files, copied from Gnulib.
* src/sysdep.c (sys_siglist, sys_siglist_entries): Remove.
(init_signals): Do not initialize sys_siglist.
(safe_strsignal): Use sigdescr_np instead of sys_siglist.
admin/CPP-DEFINES
admin/merge-gnulib
configure.ac
lib/gnulib.mk.in
lib/sigdescr_np.c [new file with mode: 0644]
m4/gnulib-comp.m4
m4/sigdescr_np.m4 [new file with mode: 0644]
src/sysdep.c