From: Bernhard Reutner-Fischer Date: Thu, 25 Sep 2008 10:55:05 +0000 (-0000) Subject: - fix compilation on OSF/1 X-Git-Tag: 1_13_0~168 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=864329d67427b441c7777ad511f5146486e8bce8;p=oweals%2Fbusybox.git - fix compilation on OSF/1 --- 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) 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 @@ static void setup_job_control(void) 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()); }