test-setjmp: Zero out all sigsets
Since glibc 2.32 [1], sigemptyset() no longer clears the entire sigset_t.
[1] "signal: Use <sigsetops.h> for sigemptyset, sigfillset" (9f6bd1f6057e57cce9b07844c28f15859ab15d49)
@@ -149,6 +149,10 @@ main (int argc, char **argv UNUSED)
if (argc > 1)
verbose = 1;
+ memset (&sigset1, 0, sizeof (sigset1));
+ memset (&sigset2, 0, sizeof (sigset2));
+ memset (&sigset3, 0, sizeof (sigset3));
+
sigemptyset ((sigset_t *) &sigset1);
sigaddset ((sigset_t *) &sigset1, SIGUSR1);
sigemptyset ((sigset_t *) &sigset2);
