Browse Source

Per discussion on the mailing list, simply vfork -> fork mapping to only apply
iff we do not have vfork available, which is simpler and more reasonable.
-Erik

Eric Andersen 23 years ago
parent
commit
b93d7f3e92
3 changed files with 3 additions and 3 deletions
  1. 1 1
      libc/stdio/popen.c
  2. 1 1
      libc/stdlib/system.c
  3. 1 1
      libc/stdlib/unix_grantpt.c

+ 1 - 1
libc/stdio/popen.c

@@ -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
 

+ 1 - 1
libc/stdlib/system.c

@@ -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
 

+ 1 - 1
libc/stdlib/unix_grantpt.c

@@ -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