Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 447810 | Differences between
and this patch

Collapse All | Expand All

(-)../bash-4.2.orig/sig.c (+11 lines)
Lines 674-679 Link Here
674
  if (sig == SIGCHLD)
674
  if (sig == SIGCHLD)
675
    act.sa_flags |= SA_RESTART;		/* XXX */
675
    act.sa_flags |= SA_RESTART;		/* XXX */
676
676
677
  if (sig == SIGCHLD)
678
  {
679
    fprintf (stderr, "set_signal_handler SIGCHLD\n"
680
    "\tsa_flags = %#x\n"
681
    "\tSA_RESTART = %#x\n"
682
    "\tsa_flags & SA_RESTART = %#x\n",
683
    act.sa_flags,
684
    SA_RESTART,
685
    act.sa_flags & SA_RESTART);
686
  }
687
    
677
  sigemptyset (&act.sa_mask);
688
  sigemptyset (&act.sa_mask);
678
  sigemptyset (&oact.sa_mask);
689
  sigemptyset (&oact.sa_mask);
679
  sigaction (sig, &act, &oact);
690
  sigaction (sig, &act, &oact);

Return to bug 447810