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

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Jun 15 12:00:36 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=a307f244bc0632acc3bedc7c41284ed82a17e695
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 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 f970131..4074810 100644
--- a/libc/misc/wordexp/wordexp.c
+++ b/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
 
 /*


More information about the uClibc-cvs mailing list