OSDN Git Service

drop support for old systems lacking vfork
authorMark Salter <msalter@redhat.com>
Fri, 4 May 2012 12:18:46 +0000 (08:18 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 5 May 2012 19:02:27 +0000 (15:02 -0400)
commit036daaa8e143c0865ac92359396f38c0d7e2c1f2
tree82a2754db999707c7eae0ce796f31cfdc90a673c
parent3457d04a3d79cd046ef5d1b000047805aa03ec97
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 <msalter@redhat.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
libc/stdio/popen.c
libc/stdlib/system.c
libc/stdlib/unix_grantpt.c