[git commit future] wordexp.c: use vfork instead of fork on non-MMU archs

Peter S. Mazinger ps.m at gmx.net
Wed Apr 13 17:38:40 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=24cb8a9f360c5c4e552909f9304826b9a14b91b2
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 libc/misc/wordexp/wordexp.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/libc/misc/wordexp/wordexp.c b/libc/misc/wordexp/wordexp.c
index d063469..e1385be 100644
--- a/libc/misc/wordexp/wordexp.c
+++ b/libc/misc/wordexp/wordexp.c
@@ -36,6 +36,10 @@
 #include <glob.h>
 #include <wordexp.h>
 
+#ifndef __ARCH_USE_MMU__
+# define fork vfork
+#endif
+
 #define __WORDEXP_FULL
 
 /*
-- 
1.7.3.4



More information about the uClibc-cvs mailing list