svn commit: trunk/busybox/shell

vda at busybox.net vda at busybox.net
Wed May 30 00:55:53 UTC 2007


Author: vda
Date: 2007-05-29 17:55:52 -0700 (Tue, 29 May 2007)
New Revision: 18704

Log:
hush: trivial buglet found by randomconfig testing


Modified:
   trunk/busybox/shell/hush.c


Changeset:
Modified: trunk/busybox/shell/hush.c
===================================================================
--- trunk/busybox/shell/hush.c	2007-05-30 00:29:55 UTC (rev 18703)
+++ trunk/busybox/shell/hush.c	2007-05-30 00:55:52 UTC (rev 18704)
@@ -3151,7 +3151,9 @@
 			close(channel[1]);
 		}
 		/* Prevent it from trying to handle ctrl-z etc */
+#if ENABLE_HUSH_JOB
 		run_list_level = 1;
+#endif
 		/* Process substitution is not considered to be usual
 		 * 'command execution'.
 		 * SUSv3 says ctrl-Z should be ignored, ctrl-C should not. */




More information about the busybox-cvs mailing list