From a307f244bc0632acc3bedc7c41284ed82a17e695 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 14 Apr 2011 12:56:56 +0200 Subject: wordexp.c: use vfork instead of fork on non-MMU archs Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/misc/wordexp/wordexp.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc/misc') diff --git a/libc/misc/wordexp/wordexp.c b/libc/misc/wordexp/wordexp.c index f9701314d..4074810c1 100644 --- a/libc/misc/wordexp/wordexp.c +++ b/libc/misc/wordexp/wordexp.c @@ -37,6 +37,10 @@ #include #include +#ifndef __ARCH_USE_MMU__ +# define fork vfork +#endif + #define __WORDEXP_FULL /* -- cgit v1.2.3