소스 검색

wordexp.c: use vfork instead of fork on non-MMU archs

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger 13 년 전
부모
커밋
a307f244bc
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      libc/misc/wordexp/wordexp.c

+ 4 - 0
libc/misc/wordexp/wordexp.c

@@ -37,6 +37,10 @@
 #include <glob.h>
 #include <wordexp.h>
 
+#ifndef __ARCH_USE_MMU__
+# define fork vfork
+#endif
+
 #define __WORDEXP_FULL
 
 /*