aboutsummaryrefslogtreecommitdiff
path: root/shell/lash.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-04-12 17:59:24 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-04-12 17:59:24 +0000
commita9b025f006fd266156bc8fe98d44a5aa5a598e7c (patch)
tree4f31c690a602713220868b2d6f98bf4aaf53eeed /shell/lash.c
parentdc4f588bc2323ec6d5f0b0d92bfb78d99be38cc3 (diff)
downloadbusybox-w32-a9b025f006fd266156bc8fe98d44a5aa5a598e7c.tar.gz
busybox-w32-a9b025f006fd266156bc8fe98d44a5aa5a598e7c.tar.bz2
busybox-w32-a9b025f006fd266156bc8fe98d44a5aa5a598e7c.zip
Jamie Guinan writes:
It looks like latest uClibc defines ARCH_HAS_MMU, but a few busybox files test UCLIBC_HAS_MMU, resulting in vfork() getting called instead of fork(), etc. Patch below. Only tested for lash. Cheers, -Jamie git-svn-id: svn://busybox.net/trunk/busybox@8738 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell/lash.c')
-rw-r--r--shell/lash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/lash.c b/shell/lash.c
index b46cee807..fa416c742 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -1380,7 +1380,7 @@ static int run_command(struct job *newjob, int inbg, int outpipe[2])
1380 } 1380 }
1381 } 1381 }
1382 1382
1383#if !defined(__UCLIBC__) || defined(__UCLIBC_HAS_MMU__) 1383#if !defined(__UCLIBC__) || defined(__ARCH_HAS_MMU__)
1384 if (!(child->pid = fork())) 1384 if (!(child->pid = fork()))
1385#else 1385#else
1386 if (!(child->pid = vfork())) 1386 if (!(child->pid = vfork()))