http://bugs.grommit.com/show_bug.cgi?id=547

           Summary: Need hotfix for broken CHLD trap
           Product: ksh93-integration
           Version: unspecified
          Platform: All
        OS/Version: Solaris 11/Nevada
            Status: NEW
          Severity: blocker
          Priority: P3
         Component: App/ksh93
        AssignedTo: ksh93-integration-discuss at opensolaris.org
        ReportedBy: roland.mainz at nrubsig.org
                CC: roland.mainz at nrubsig.org, april.chin at sun.com


We need a hotfix for the broken CHLD trap.

Currently the following scriptlet prints:
-- snip --
$ (/usr/bin/sparcv9/ksh93 -c 'trap "print got_child" SIGCHLD ; sleep 5 & for
((i=0 ; i < 10 ; i++)) ; do print $i ; sleep 1 ; true >/dev/null ; done ; wait
; print " done"')     
0
1
2
3
4
5
6
7
8
9
 done
-- snip --
... while it should trigger the CHLD trap _once_ when the background process
returns, e.g. the output should be:
-- snip --
0
1
2
3
4
got_child
5
6
7
8
9
 done
-- snip --


-- 
Configure bugmail: http://bugs.grommit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to