svn commit: [25828] trunk/busybox/shell
vapier at busybox.net
vapier at busybox.net
Thu Mar 26 18:14:16 UTC 2009
Author: vapier
Date: 2009-03-26 18:14:16 +0000 (Thu, 26 Mar 2009)
New Revision: 25828
Log:
enable most job functions on no-mmu systems
Modified:
trunk/busybox/shell/hush.c
Changeset:
Modified: trunk/busybox/shell/hush.c
===================================================================
--- trunk/busybox/shell/hush.c 2009-03-26 16:55:21 UTC (rev 25827)
+++ trunk/busybox/shell/hush.c 2009-03-26 18:14:16 UTC (rev 25828)
@@ -94,11 +94,6 @@
#warning For more info see shell/hush.c, generate_stream_from_list().
#endif
-#if !BB_MMU && ENABLE_HUSH_JOB
-#undef ENABLE_HUSH_JOB
-#define ENABLE_HUSH_JOB 0
-#endif
-
#if !ENABLE_HUSH_INTERACTIVE
#undef ENABLE_FEATURE_EDITING
#define ENABLE_FEATURE_EDITING 0
@@ -810,6 +805,12 @@
pid_t pid;
debug_printf_jobs("got tty sig %d in pid %d\n", sig, getpid());
+
+ if (!BB_MMU) {
+ fputs("Sorry, backgrounding (CTRL+Z) of foreground scripts not supported on nommu\n", stderr);
+ return;
+ }
+
pid = fork();
if (pid < 0) /* can't fork. Pretend there was no ctrl-Z */
return;
More information about the busybox-cvs
mailing list