the kernel fix does indeed keep
; for(i in `{seq 1 $n}){>/dev/null echo fu&}
; for(i in `{seq 1 $n}){>/dev/null echo fu&}
from hanging.
however, i think the fix to rc might be in error. if i do this
#!/bin/rc
cmd1&
cmd2&
wait
shouldn't that wait for both processes? for example, on an older
rc, from this script
#/bin/rc
date
sleep 15 &
sleep 30 &
wait
date
i get
Mon Dec 18 10:57:43 EST 2006
Mon Dec 18 10:58:13 EST 2006
whereas with the rc from friday, i get
; 8.out
broken! date ; sleep 15 & sleep 30 & wait ; date
Mon Dec 18 11:00:33 EST 2006
Mon Dec 18 11:00:33 EST 2006
- erik