Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | If the wait failed in pclose it would return a random status code | David McCullough | 2002-12-01 | 1 | -1/+2 |
| | | | | instead of -1 as expected. | ||||
* | Per discussion on the mailing list, simply vfork -> fork mapping to only apply | Eric Andersen | 2002-07-31 | 1 | -1/+1 |
| | | | | | iff we do not have vfork available, which is simpler and more reasonable. -Erik | ||||
* | A patch from Ted Phelps to fix popen(). Ted writes: | Eric Andersen | 2002-06-11 | 1 | -1/+1 |
| | | | | | | | | | There is a minor bug in the implementation of popen(). In the case where the file descriptor returned from its call to pipe() is the same as the file descriptor that it is meant to be (where the dup2() branch is not taken), the end of the pipe is still closed by close(reading) even though it shouldn't be. Thanks Ted! | ||||
* | When vfork is not available and we have an MMU, then use fork() | Eric Andersen | 2002-02-21 | 1 | -0/+6 |
| | | | | -Erik | ||||
* | Fix include/errno.h to not use kernel header, and instead use bits/errno.h. | Eric Andersen | 2001-04-06 | 1 | -1/+1 |
| | | | | | | | This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik | ||||
* | Fix a couple of bugs: check mode is legal; open file and check success before | Manuel Novoa III | 2001-03-03 | 1 | -25/+45 |
| | | | | calling vfork. | ||||
* | Add in tmpnam() support from David Whedon <dwhedon@gordian.com>, | Eric Andersen | 2000-11-15 | 1 | -7/+4 |
| | | | | rework include/stdio.h, and fix up the resultant damage. | ||||
* | Finish reorganizing things. At least I think I've finished. | Eric Andersen | 2000-10-11 | 1 | -0/+49 |