mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 14:00:30 +00:00
* malloc/tst-mallocfork.c (do_test): Make sure sa_flags is
initialized. Reported by John Reiser <jreiser@BitWagon.com>.
This commit is contained in:
parent
f30070ae4e
commit
bd7b22b2eb
@ -1,3 +1,8 @@
|
||||
2005-11-28 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* malloc/tst-mallocfork.c (do_test): Make sure sa_flags is
|
||||
initialized. Reported by John Reiser <jreiser@BitWagon.com>.
|
||||
|
||||
2005-12-05 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* stdlib/longlong.h: Update from GCC.
|
||||
|
@ -22,9 +22,8 @@ do_test (void)
|
||||
{
|
||||
pid_t parent = getpid ();
|
||||
|
||||
struct sigaction action;
|
||||
struct sigaction action = { .sa_handler = sig_handler };
|
||||
sigemptyset (&action.sa_mask);
|
||||
action.sa_handler = sig_handler;
|
||||
|
||||
malloc (sizeof (int));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user