Re: signal(SIGCHLD, SIG_IGN) patch solving SUSv2 compatibility issue

2001-07-22 Thread Matt Dillon
:David Malone wrote (2001/06/11): :> On Sun, Jun 10, 2001 at 05:20:50PM -0700, Peter Wemm wrote: :> > I agree totally. This should have been done ages ago, I've been burned on :> > it a few times, but never badly enough to go fix it. :> :> I've committed this - I'll let Matt do the MFC when he

Re: signal(SIGCHLD, SIG_IGN) patch solving SUSv2 compatibility issue

2001-06-15 Thread Terry Lambert
Matt Dillon wrote: > Umm. Terry, I really have no idea what you are talking about. I am talking about being able to get the previous behaviour. > What historical behavior? That FreeBSD was not properly > dealing with SIG_IGN when every other UNIX does? > So you are saying that

Re: signal(SIGCHLD, SIG_IGN) patch solving SUSv2 compatibility issue

2001-06-14 Thread Matt Dillon
:Matt Dillon wrote: :> The issue here is first: since we are fixing a bug we might :> as well be as compatible as possible with other platforms and, :> second: on general principles it does make sense to keep SIG_IGN :> operation independant from the newer SA_NOCLDWAIT stuff. A p

Re: signal(SIGCHLD, SIG_IGN) patch solving SUSv2 compatibility issue

2001-06-14 Thread Terry Lambert
Matt Dillon wrote: > The issue here is first: since we are fixing a bug we might > as well be as compatible as possible with other platforms and, > second: on general principles it does make sense to keep SIG_IGN > operation independant from the newer SA_NOCLDWAIT stuff. A program

Re: signal(SIGCHLD, SIG_IGN) patch solving SUSv2 compatibility issue

2001-06-13 Thread Matt Dillon
:I really, really object to not setting the SA_NOCLDWAIT :flag. : :At the very least, you need to add a SA_CLDWAIT flag, if you :want to not have it show up in this case, and make it show :up in the other case. : :I think doing this would be a mistake, since the intent of :the flags is to have (p

Re: signal(SIGCHLD, SIG_IGN) patch solving SUSv2 compatibility issue

2001-06-13 Thread Terry Lambert
Matt Dillon wrote: > :Thanks for this commit, but it works exactly in the way, which > :I wanted to avoid. It is something like "partially submitted and > :not approved by me". Please, could you look once again on it? > :Please please please... Thanks. ;-) > : > :- Hunk #1 from commit adds PS_NOCL

Re: signal(SIGCHLD, SIG_IGN) patch solving SUSv2 compatibility issue

2001-06-13 Thread David Malone
> I'll take a look at them tonight and (unless Dave wants to) I'll > commit an update to -current and hold off the -stable MFC another > few days. I recieved some mail from Garrett on the standards side of the thing, so I'll read and digest that. I should be able to look after the -c

Re: signal(SIGCHLD, SIG_IGN) patch solving SUSv2 compatibility issue

2001-06-12 Thread Matt Dillon
: :David Malone wrote (2001/06/11): :> On Sun, Jun 10, 2001 at 05:20:50PM -0700, Peter Wemm wrote: :> > I agree totally. This should have been done ages ago, I've been burned on :> > it a few times, but never badly enough to go fix it. :> :> I've committed this - I'll let Matt do the MFC when h

Re: signal(SIGCHLD, SIG_IGN) patch solving SUSv2 compatibility issue

2001-06-12 Thread Cejka Rudolf
David Malone wrote (2001/06/11): > On Sun, Jun 10, 2001 at 05:20:50PM -0700, Peter Wemm wrote: > > I agree totally. This should have been done ages ago, I've been burned on > > it a few times, but never badly enough to go fix it. > > I've committed this - I'll let Matt do the MFC when he feels r

Re: signal(SIGCHLD, SIG_IGN) patch solving SUSv2 compatibility issue

2001-06-11 Thread David Malone
On Sun, Jun 10, 2001 at 05:20:50PM -0700, Peter Wemm wrote: > I agree totally. This should have been done ages ago, I've been burned on > it a few times, but never badly enough to go fix it. I've committed this - I'll let Matt do the MFC when he feels ready. David. To Unsubscribe: send

Re: signal(SIGCHLD, SIG_IGN) patch solving SUSv2 compatibility issue

2001-06-10 Thread Peter Wemm
Matt Dillon wrote: > > :... > : > :sigemptyset(&sa.sa_mask); > :sa.sa_flags = 0; > :sa.sa_handler = SIG_IGN; > :sigaction(SIGCHLD, &sa, NULL); > : > :zombies are still created in FreeBSD, which