path: root/libc/stdio
diff options
authorMark Salter <>2012-05-04 12:18:46 (GMT)
committerMike Frysinger <>2012-05-05 19:02:27 (GMT)
commit036daaa8e143c0865ac92359396f38c0d7e2c1f2 (patch)
tree82a2754db999707c7eae0ce796f31cfdc90a673c /libc/stdio
parent3457d04a3d79cd046ef5d1b000047805aa03ec97 (diff)
drop support for old systems lacking vfork
Only really old systems (<=linux-2.0) lack a dedicated vfork system call. The code that is in place to support them is causing issues with newer arches that also don't provide a vfork system call -- instead, they do vfork by calling clone in userspace. If anyone cares about these really old systems, they can submit a patch to make the system work with them while not breaking newer systems. Signed-off-by: Mark Salter <> Signed-off-by: Mike Frysinger <>
Diffstat (limited to 'libc/stdio')
1 files changed, 0 insertions, 9 deletions
diff --git a/libc/stdio/popen.c b/libc/stdio/popen.c
index d5c60cf..dfbfd96 100644
--- a/libc/stdio/popen.c
+++ b/libc/stdio/popen.c
@@ -26,15 +26,6 @@
#warning "hmm... susv3 says Pipe streams are byte-oriented."
#endif /* __UCLIBC_MJN3_ONLY__ */
-/* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
-#include <sys/syscall.h>
-#if ! defined __NR_vfork
-# define vfork fork
-# define VFORK_LOCK ((void) 0)
-# define VFORK_UNLOCK ((void) 0)
#ifndef VFORK_LOCK