hush (a Bourne-style shell) for the GNO multitasking environment on the Apple IIgs
Go to file
Stephen Heumann fb9b298ca4 Implement "close-on-exec" functionality for GNO.
We do this by maintaining a mask (for each pid) giving the fds to be closed on exec. We wrap functions that close fds so that their close-on-exec bits can be cleared at that point.

This implementation may close the fds even if the execve operation ultimately fails.
2014-12-03 21:04:46 -06:00
coreutils In redirection operations, map fds 0/1/2 to 1/2/3 so they work as stdin/stdout/stderr, preserving compatibility with Unix shell scripts. 2014-11-20 23:12:01 -06:00
include Implement "close-on-exec" functionality for GNO. 2014-12-03 21:04:46 -06:00
libbb Implement "close-on-exec" functionality for GNO. 2014-12-03 21:04:46 -06:00
notes Move all the source files to 15-character ProDOS-compatible file names. 2014-11-02 22:11:07 -06:00
shell Implement "close-on-exec" functionality for GNO. 2014-12-03 21:04:46 -06:00
.gitignore Minimal changes to enable hush-only builds on OS X 2014-10-26 21:14:47 -05:00
.indent.pro
build.gcc Define segments and make other adjustments in makefile. 2014-11-05 22:26:33 -06:00
build.gs Set things up so hush can be build with debug code turned on. 2014-11-06 11:42:17 -06:00
LICENSE
Makefile Implement "close-on-exec" functionality for GNO. 2014-12-03 21:04:46 -06:00
Makefile.gmake Add our own version of qsort, because the one from ORCA/C is recursive and can use thousands of KB of stack space. 2014-12-03 10:49:24 -06:00
texttogs Set things up so hush can be build with debug code turned on. 2014-11-06 11:42:17 -06:00