aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-25 10:55:05 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-25 10:55:05 +0000
commit864329d67427b441c7777ad511f5146486e8bce8 (patch)
tree0f1e8f6f5fc245e45e96fa9bcdb3b955d6dc151d
parent17e7f04c8d144e0e0598464806dcb111ed5386d7 (diff)
downloadbusybox-w32-864329d67427b441c7777ad511f5146486e8bce8.tar.gz
busybox-w32-864329d67427b441c7777ad511f5146486e8bce8.tar.bz2
busybox-w32-864329d67427b441c7777ad511f5146486e8bce8.zip
- fix compilation on OSF/1
-rw-r--r--shell/hush.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 78622d106..6677f893a 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -825,7 +825,7 @@ static void handler_ctrl_z(int sig UNUSED_PARAM)
825 if (!pid) { /* child */ 825 if (!pid) { /* child */
826 if (ENABLE_HUSH_JOB) 826 if (ENABLE_HUSH_JOB)
827 die_sleep = 0; /* let nofork's xfuncs die */ 827 die_sleep = 0; /* let nofork's xfuncs die */
828 setpgrp(); 828 bb_setpgrp();
829 debug_printf_jobs("set pgrp for child %d ok\n", getpid()); 829 debug_printf_jobs("set pgrp for child %d ok\n", getpid());
830 set_every_sighandler(SIG_DFL); 830 set_every_sighandler(SIG_DFL);
831 raise(SIGTSTP); /* resend TSTP so that child will be stopped */ 831 raise(SIGTSTP); /* resend TSTP so that child will be stopped */
@@ -4040,7 +4040,7 @@ static void setup_job_control(void)
4040 set_fatal_sighandler(sigexit); 4040 set_fatal_sighandler(sigexit);
4041 4041
4042 /* Put ourselves in our own process group. */ 4042 /* Put ourselves in our own process group. */
4043 setpgrp(); /* is the same as setpgid(our_pid, our_pid); */ 4043 bb_setpgrp(); /* is the same as setpgid(our_pid, our_pid); */
4044 /* Grab control of the terminal. */ 4044 /* Grab control of the terminal. */
4045 tcsetpgrp(G.interactive_fd, getpid()); 4045 tcsetpgrp(G.interactive_fd, getpid());
4046} 4046}