diff options
author | Bruno Haible <bruno@clisp.org> | 2022-11-26 15:25:44 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-11-26 15:25:44 +0100 |
commit | 835b3ea801782fcf72ef1f9397bb112cac0e2f50 (patch) | |
tree | 45803fd125a3005f4054232c3cb43ded1bc93347 /build-aux | |
parent | 6ec9bc73686fd42d0a1a82c914d89176745cddbd (diff) | |
download | gnulib-835b3ea801782fcf72ef1f9397bb112cac0e2f50.tar.gz |
In 'trap' commands, prefer symbolic to numeric signal names.
Reported by Mike Fulton <fultonm@ca.ibm.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2022-11/msg00130.html>.
* gnulib-tool: Use symbolic signal names.
* posix-modules: Likewise.
* MODULES.html.sh: Likewise.
* build-aux/bootstrap (prepare_GNULIB_SRCDIR): Likewise.
* build-aux/csharpcomp.sh.in: Likewise.
* build-aux/gnu-web-doc-update: Likewise.
* top/autogen.sh: Likewise.
* top/bootstrap-funclib.sh: Likewise.
* top/gitsub.sh: Likewise.
* lib/t-idcache: Likewise.
* tests/havelib/rpath-1: Likewise.
* tests/havelib/rpath-2_a: Likewise.
* tests/havelib/rpath-2_b: Likewise.
* tests/havelib/rpath-3_a: Likewise.
* tests/havelib/rpath-3_b: Likewise.
* tests/init.sh: Likewise.
* tests/test-binary-io.sh: Likewise.
* tests/test-c-stack.sh: Likewise.
* tests/test-c-stack2.sh: Likewise.
* tests/test-dprintf-posix.sh: Likewise.
* tests/test-fpending.sh: Likewise.
* tests/test-fprintf-posix.sh: Likewise.
* tests/test-lseek.sh: Likewise.
* tests/test-printf-posix.sh: Likewise.
* tests/test-select-in.sh: Likewise.
* tests/test-select-out.sh: Likewise.
* tests/test-sigpipe.sh: Likewise.
* tests/test-tsearch.sh: Likewise.
* tests/test-update-copyright.sh: Likewise.
* tests/test-vdprintf-posix.sh: Likewise.
* tests/test-vfprintf-posix.sh: Likewise.
* tests/test-vprintf-posix.sh: Likewise.
* tests/test-xprintf-posix.sh: Likewise.
* tests/uniwidth/test-uc_width2.sh: Likewise.
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/bootstrap | 4 | ||||
-rw-r--r-- | build-aux/csharpcomp.sh.in | 2 | ||||
-rwxr-xr-x | build-aux/gnu-web-doc-update | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/build-aux/bootstrap b/build-aux/bootstrap index a54c995798..341d05d57e 100755 --- a/build-aux/bootstrap +++ b/build-aux/bootstrap @@ -540,7 +540,7 @@ prepare_GNULIB_SRCDIR () elif [ ! -d "$gnulib_path" ]; then echo "$0: getting gnulib files..." - trap cleanup_gnulib 1 2 13 15 + trap cleanup_gnulib HUP INT PIPE TERM shallow= if test -z "$GNULIB_REVISION"; then @@ -570,7 +570,7 @@ prepare_GNULIB_SRCDIR () git -C "$gnulib_path" reset --hard FETCH_HEAD fi - trap - 1 2 13 15 + trap - HUP INT PIPE TERM fi fi GNULIB_SRCDIR=$gnulib_path diff --git a/build-aux/csharpcomp.sh.in b/build-aux/csharpcomp.sh.in index 1a690e0a7a..63b5a7013c 100644 --- a/build-aux/csharpcomp.sh.in +++ b/build-aux/csharpcomp.sh.in @@ -127,7 +127,7 @@ if test -n "@HAVE_MCS@"; then /^Compilation succeeded/d }' func_tmpdir - trap 'rm -rf "$tmp"' 1 2 3 15 + trap 'rm -rf "$tmp"' HUP INT QUIT TERM test -z "$CSHARP_VERBOSE" || echo mcs $options_mcs $sources mcs $options_mcs $sources > "$tmp"/mcs.err result=$? diff --git a/build-aux/gnu-web-doc-update b/build-aux/gnu-web-doc-update index c041364fbe..28a0e97ef4 100755 --- a/build-aux/gnu-web-doc-update +++ b/build-aux/gnu-web-doc-update @@ -153,8 +153,8 @@ cleanup() $GIT branch -d $tmp_branch exit $__st } -trap cleanup 0 -trap 'exit $?' 1 2 13 15 +trap cleanup EXIT +trap 'exit $?' HUP INT PIPE TERM # We must build using sources for which --version reports the # just-released version number, not some string like 7.6.18-20761. |