svn commit: trunk/busybox/shell

aldot at busybox.net aldot at busybox.net
Thu Sep 25 10:55:05 UTC 2008


Author: aldot
Date: 2008-09-25 03:55:05 -0700 (Thu, 25 Sep 2008)
New Revision: 23488

Log:
- fix compilation on OSF/1


Modified:
   trunk/busybox/shell/hush.c


Changeset:
Modified: trunk/busybox/shell/hush.c
===================================================================
--- trunk/busybox/shell/hush.c	2008-09-25 10:48:06 UTC (rev 23487)
+++ trunk/busybox/shell/hush.c	2008-09-25 10:55:05 UTC (rev 23488)
@@ -825,7 +825,7 @@
 	if (!pid) { /* child */
 		if (ENABLE_HUSH_JOB)
 			die_sleep = 0; /* let nofork's xfuncs die */
-		setpgrp();
+		bb_setpgrp();
 		debug_printf_jobs("set pgrp for child %d ok\n", getpid());
 		set_every_sighandler(SIG_DFL);
 		raise(SIGTSTP); /* resend TSTP so that child will be stopped */
@@ -4040,7 +4040,7 @@
 	set_fatal_sighandler(sigexit);
 
 	/* Put ourselves in our own process group.  */
-	setpgrp(); /* is the same as setpgid(our_pid, our_pid); */
+	bb_setpgrp(); /* is the same as setpgid(our_pid, our_pid); */
 	/* Grab control of the terminal.  */
 	tcsetpgrp(G.interactive_fd, getpid());
 }




More information about the busybox-cvs mailing list