signalblocking: simplify and remove gl_SILENT
commit98aff1ca8e022ef804be746bcac3b43b1f50254e
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 18 Sep 2020 02:16:07 +0000 (17 19:16 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 18 Sep 2020 02:19:15 +0000 (17 19:19 -0700)
treecd8fd68669ab773f981beaa7b117ca11b78f88a4
parentb40f8bb4d4bd5b46d8e9859fc9a78b4e7af76d73
signalblocking: simplify and remove gl_SILENT

gl_SILENT was problematic because if a trap was sprung, stderr
generated during the trap was lost.  Avoid the problem by
removing the need for gl_SILENT.
* m4/gnulib-common.m4 (GL_TMP_FD, gl_SILENT): Remove.
* m4/signalblocking.m4 (gl_SIGNALBLOCKING):
Simplify, avoiding the need for gl_SILENT while preserving the
ability of the user to override the value of the cache variable,
now ac_cv_func_sigprocmask.
ChangeLog
m4/gnulib-common.m4
m4/signalblocking.m4