hush (a Bourne-style shell) for the GNO multitasking environment on the Apple IIgs
Go to file
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
coreutils
include Change various uses of signal masks to use 32-bit values (previously half the signals were essentially cut off). 2014-11-25 17:43:14 -06:00
libbb Switch the vfork implementation to use procrecvtim() for waiting, and not signal the parent from the child. 2014-12-01 21:05:13 -06:00
notes
shell Switch the vfork implementation to use procrecvtim() for waiting, and not signal the parent from the child. 2014-12-01 21:05:13 -06:00
.gitignore
.indent.pro
build.gcc
build.gs
LICENSE
Makefile Add our own version of execve for GNO, which can quote arguments and can remove variables from the environment if needed. 2014-11-22 16:53:59 -06:00
Makefile.gmake Fix our handling of process groups for job control, working around a couple GNO bugs. 2014-11-21 23:05:38 -06:00
texttogs