]> Git Repo - uclibc-ng.git/commitdiff
Per discussion on the mailing list, simply vfork -> fork mapping to only apply
authorEric Andersen <[email protected]>
Wed, 31 Jul 2002 04:38:58 +0000 (04:38 -0000)
committerEric Andersen <[email protected]>
Wed, 31 Jul 2002 04:38:58 +0000 (04:38 -0000)
iff we do not have vfork available, which is simpler and more reasonable.
 -Erik

libc/stdio/popen.c
libc/stdlib/system.c
libc/stdlib/unix_grantpt.c

index a77a82e6637f02d88e02418b2205d880714f4bc7..ddf881899c9cb57413f88c6b03e5f23a3affbce7 100644 (file)
@@ -14,7 +14,7 @@
 
 /* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
 #include <sys/syscall.h>
-#if ! defined __NR_vfork && defined __UCLIBC_HAS_MMU__ 
+#if ! defined __NR_vfork
 #define vfork fork     
 #endif
 
index 8f654045e5bb4e95c3959ec14703787a126ffa7f..b15d601aa94dfcfc2861674be6881c1552457995 100644 (file)
@@ -6,7 +6,7 @@
 
 /* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
 #include <sys/syscall.h>
-#if ! defined __NR_vfork && defined __UCLIBC_HAS_MMU__ 
+#if ! defined __NR_vfork
 #define vfork fork     
 #endif
 
index c29612e81b4770ebd3d43e58964d89c207c4c002..49e65d16d95444ed4a253cb599546a032fb72299 100644 (file)
@@ -33,7 +33,7 @@
 
 /* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
 #include <sys/syscall.h>
-#if ! defined __NR_vfork && defined __UCLIBC_HAS_MMU__ 
+#if ! defined __NR_vfork
 #define vfork fork     
 #endif
 
This page took 0.030625 seconds and 4 git commands to generate.