* lib/sigaction.c (sigaction): Hide the sigaction_handler from the
caller.
+2026-04-14 Bruno Haible <bruno@clisp.org>
+
+ sigaction: Fix test failure on native Windows.
+ * lib/sigaction.c (sigaction): Hide the sigaction_handler from the
+ caller.
+
2026-04-13 Bruno Haible <bruno@clisp.org>
stdbit-h: Port to Intel icpx C++ compiler.
signal (sig, oact->sa_handler);
oact->sa_flags = SA_RESETHAND | SA_NODEFER;
sigemptyset (&oact->sa_mask);
+ /* The sigaction_handler is an internal detail. It must not be
+ visible to the caller. */
+ if (oact->sa_handler == sigaction_handler)
+ *oact = action_array[sig];
}
}