0c86064ca1
checked in (request 50094) OBS-URL: https://build.opensuse.org/request/show/50094 OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=40
27 lines
748 B
Plaintext
27 lines
748 B
Plaintext
cc: gsf@research.att.com zpetrova@novell.com
|
|
Subject: Re: [ast-users] Bug in SIGCHLD handling (Version JM 93t+ 2010-02-14)
|
|
--------
|
|
|
|
I was finally able to reproduce the problem and I have fixed the bug.
|
|
|
|
Here is a patch. Let me know if this resolves this.
|
|
|
|
====================cut here==========================
|
|
*** src/cmd/ksh93/sh/xec.c Fri Feb 12 11:48:56 2010
|
|
--- src/cmd/ksh93/sh/xec.c Wed Apr 7 10:40:53 2010
|
|
***************
|
|
*** 2946,2951 ****
|
|
--- 2946,2953 ----
|
|
register int sig=sh.st.trapmax;
|
|
while(sig-- > 0)
|
|
{
|
|
+ if(sig==SIGCHLD)
|
|
+ continue;
|
|
if((trap=sh.st.trapcom[sig]) && *trap==0)
|
|
signal(sig,mode?sh_fault:SIG_IGN);
|
|
}
|
|
====================cut here==========================
|
|
|
|
David Korn
|
|
dgk@research.att.com
|