summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/wordexp.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate more dead stores.wollman2009-11-251-1/+1
| | | | | Found by: Clang static analyzer MFC after: 7 days
* wordexp(3): fix some bugs with signals and long outputsjilles2009-10-231-19/+57
| | | | | | | | | | | | * retry various system calls on EINTR * retry the rest after a short read (common if there is more than about 1K of output) * block SIGCHLD like system(3) does (note that this does not and cannot work fully in threaded programs, they will need to be careful with wait functions) PR: 90580 MFC after: 1 month
* Fix typo: WRDE_DOOFS -> WRDE_DOOFFS.tjr2004-06-301-3/+3
| | | | Noticed by: Stoned Elipot
* Terminate execl()'s argument list with a null pointer instead of atjr2004-04-091-1/+1
| | | | | | | null pointer constant. (The latter may be an integer constant, which is not correct here.) Submitted by: Stefan Farfeleder
* Use hidden names (_close, _dup2, _waitpid, etc.) where appropriate.tjr2003-01-071-22/+22
|
* Fix a number of bugs noticed by more extensive testing:tjr2003-01-041-7/+15
| | | | | | | | | | o Call waitpid() if an error occurs after forking the child process to avoid leaving zombies around. o Handle the WRDE_DOOFS|WRDE_APPEND combination correctly o Do not confuse $( substitution with $(( shell arithmetic (noticed by wollman) o Handle backslash escaping properly o Allow $( and ${ to be quoted
* Be more consistent with "static".tjr2002-12-271-1/+1
|
* Add an implementation of the POSIX wordexp() and wordfree() functions,tjr2002-12-261-0/+308
which perform shell-style word expansion on strings. This is still a little rough around the edges. PR: 13420
OpenPOWER on IntegriCloud