Stephen Heumann 468751ba5f Switch the vfork implementation to use procrecvtim() for waiting, and not signal the parent from the child.
This avoids a problem where one of the SIGALRM signals could be delivered after the original SIGALRM handler was restored, which would normally cause the process to terminate.

For now, we just rely on polling in a loop to determine when the child is done. This isn't optimal, but should be OK. If procsend() worked, we could use that in the child to signal the parent. However, procsend() is broken in GNO 2.0.6 -- it seems that it actually tries to invoke the send() call for sockets, but with the wrong arguments, leading to a crash.
2014-12-01 21:05:13 -06:00
2009-05-06 05:28:53 -04:00
Description
hush (a Bourne-style shell) for the GNO multitasking environment on the Apple IIgs
GPL-2.0 28 MiB
Languages
C 98.6%
Makefile 0.7%
Shell 0.6%
C++ 0.1%