On 7/22/25 4:57 AM, Dr. Werner Fink wrote:

Description:
        The kill test of util-linux fails with bash 5.3

--- 
/home/abuild/rpmbuild/BUILD/util-linux-2.41.1-build/util-linux-2.41.1/tests/expected/kill/decode
    2025-05-05 08:28:45.049284591 +0000
+++ 
/home/abuild/rpmbuild/BUILD/util-linux-2.41.1-build/util-linux-2.41.1/tests/output/kill/decode
      2025-07-22 06:57:51.483466788 +0000
@@ -16,5 +16,5 @@
  Pending (thread): INT ILL
  Pending (process): USR1
  Blocked: INT ILL ABRT FPE USR1 SEGV TERM
-Ignored: HUP QUIT TRAP PIPE ALRM
+Ignored: HUP INT QUIT TRAP PIPE ALRM
  Caught: ILL USR1

Repeat-By:
        util-linux-2.41.1/tests> ./run.sh

One line cause this behaviour change:

--- 
/abuild/oscbuild/openSUSE_Tumbleweed/home/abuild/rpmbuild/BUILD/bash-5.3.0-build/bash-5.3/execute_cmd.c
     2025-07-22 10:52:15.705599240 +0200
+++ bash-5.3/execute_cmd.c      2025-06-05 17:02:01.000000000 +0200
@@ -5727,7 +5727,7 @@ setup_async_signals (void)
          hard ignored flag because that would prevent the trap builtin from
          setting a trap. We also have to special-case set_signal so we can
          set a trap for one of these signals. */
-//      set_signal_async_ignored (SIGINT);
+      set_signal_async_ignored (SIGINT);
get_original_signal (SIGQUIT);
        set_signal_handler (SIGQUIT, SIG_IGN);


The rationale for those additions is in

https://lists.gnu.org/archive/html/bug-bash/2023-01/msg00050.html

They came in in January, 2023, after bash-5.2 was released.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to