summaryrefslogtreecommitdiffstats
path: root/libc/stdio/popen.c
Commit message (Collapse)AuthorAgeFilesLines
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-181-10/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-7/+7
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-1/+1
|
* libc_hidden_proto removal, a few more functionsDenis Vlasenko2008-11-181-1/+1
|
* libc_hidden_proto removal, just a few functionsDenis Vlasenko2008-11-181-1/+1
|
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-071-16/+17
| | | | | | | things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
* only declare vfork when needed, else no-mmu build failsMike Frysinger2006-01-151-1/+1
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-16/+20
| | | | missing headers, other jump relocs removed
* Get rid of warnings, use internals, create new hidden versionsPeter S. Mazinger2005-12-161-1/+3
|
* Switch fread/fwrite/fclose/pipe/sigsetmask usersPeter S. Mazinger2005-12-101-0/+1
|
* Hide some of the f* *printf, use them as wellPeter S. Mazinger2005-12-081-0/+1
|
* Hide *clnt|pmap|svc* and some rpc. inet/rpc is full of relocs ...Peter S. Mazinger2005-12-071-0/+1
|
* macro out the thread funcs in libc if threading is disabledMike Frysinger2005-12-061-7/+4
|
* More hiding, 300 leftPeter S. Mazinger2005-12-041-0/+1
|
* More hiding, including __mempcpyPeter S. Mazinger2005-12-031-0/+1
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-6/+6
|
* New stdio core. Should be more maintainable. Fixes a couple of bugs.Manuel Novoa III2004-02-111-18/+3
| | | | | | | | Codepaths streamlined. Improved performance for nonthreaded apps when linked with a thread-enabled libc. Minor iconv bug and some locale/thread related startup issues fixed. These showed up in getting a gcj-compiled java helloworld app running. Removed some old extension functions... _stdio_fdout and _stdio_fsfopen.
* Oops... temporarily support the old stdio code.Manuel Novoa III2004-01-021-0/+5
|
* Rewrite popen for SUSv3 compliance.Manuel Novoa III2004-01-021-47/+171
| | | | | | | Added a list of popen()'d to store pids and use waitpid() in pclose(). Loop on waitpid() failure due to EINTR as required. Close parent's popen()'d FILEs in the {v}fork()'d child. Fix failure exit code for failed execve().
* If the wait failed in pclose it would return a random status codeDavid McCullough2002-12-011-1/+2
| | | | instead of -1 as expected.
* Per discussion on the mailing list, simply vfork -> fork mapping to only applyEric Andersen2002-07-311-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 Andersen2002-06-111-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 Andersen2002-02-211-0/+6
| | | | -Erik
* Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen2001-04-061-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 beforeManuel Novoa III2001-03-031-25/+45
| | | | calling vfork.
* Add in tmpnam() support from David Whedon <dwhedon@gordian.com>,Eric Andersen2000-11-151-7/+4
| | | | rework include/stdio.h, and fix up the resultant damage.
* Finish reorganizing things. At least I think I've finished.Eric Andersen2000-10-111-0/+49