← Commit list

aa1d6ccbf

Eric Andersen
Eric Andersen
2002-09-30
FAILED Duration: 5s

Subject

Don't even try to run ash on uClinux. It won't work. -Erik

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/ash.c+4 -4
@@ -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;