diff options
author | Eric Andersen | 2002-09-30 20:12:32 +0000 |
---|---|---|
committer | Eric Andersen | 2002-09-30 20:12:32 +0000 |
commit | aa1d6ccbfb189881dd5ab80607095002460502f6 (patch) | |
tree | 8f94ed7c5e50231daeff2e7c34ac548e6a18414e /shell | |
parent | 6a9799020b2d5f60183e352f0baf5c185da616c4 (diff) | |
download | busybox-aa1d6ccbfb189881dd5ab80607095002460502f6.zip busybox-aa1d6ccbfb189881dd5ab80607095002460502f6.tar.gz |
Don't even try to run ash on uClinux. It won't work.
-Erik
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/ash.c b/shell/ash.c index 715adc3..216780c 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -85,6 +85,10 @@ #include "cmdedit.h" +#if defined(__uClinux__) +#error "Do not even bother, ash will not run on uClinux" +#endif + /* * This file was generated by the mksyntax program. */ @@ -6407,11 +6411,7 @@ static int forkshell(struct job *jp, const union node *n, int mode) TRACE(("forkshell(%%%d, 0x%lx, %d) called\n", jp - jobtab, (long) n, mode)); INTOFF; -#if !defined(__UCLIBC__) || defined(__UCLIBC_HAS_MMU__) pid = fork(); -#else - pid = vfork(); -#endif if (pid == -1) { TRACE(("Fork failed, errno=%d\n", errno)); INTON; |