Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* malloc/tst-mallocfork.c (do_test): Make sure sa_flags is
	initialized.  Reported by John Reiser <jreiser@BitWagon.com>.
  • Loading branch information
Roland McGrath committed Dec 6, 2005
1 parent f30070a commit bd7b22b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -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.
Expand Down
3 changes: 1 addition & 2 deletions malloc/tst-mallocfork.c
Expand Up @@ -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));

Expand Down

0 comments on commit bd7b22b

Please sign in to comment.