svn commit: branches/busybox_1_1_stable/shell

vapier at busybox.net vapier at busybox.net
Fri May 5 18:39:20 UTC 2006


Author: vapier
Date: 2006-05-05 11:39:12 -0700 (Fri, 05 May 2006)
New Revision: 15012

Log:
fix Bug 659 as reported by Robin Getz

Modified:
   branches/busybox_1_1_stable/shell/msh.c


Changeset:
Modified: branches/busybox_1_1_stable/shell/msh.c
===================================================================
--- branches/busybox_1_1_stable/shell/msh.c	2006-05-05 18:38:07 UTC (rev 15011)
+++ branches/busybox_1_1_stable/shell/msh.c	2006-05-05 18:39:12 UTC (rev 15012)
@@ -3026,6 +3026,10 @@
 	if (resetsig) {
 		signal(SIGINT, SIG_DFL);
 		signal(SIGQUIT, SIG_DFL);
+	} else {
+		/* put non-interactive processes into a different process group.
+		 * we don't support jobs, but this is at least sane: see Bug 659 */
+		setpgrp();
 	}
 
 	if (t->type == TPAREN)




More information about the busybox-cvs mailing list