* inflow.c: Pass pointer to process group, not process group itself,
to TIOCSPGRP ioctl.
This commit is contained in:
parent
8bd3f87684
commit
179cd9230f
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
||||||
Wed Oct 13 11:47:23 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
Wed Oct 13 11:47:23 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||||
|
|
||||||
|
* inflow.c: Pass pointer to process group, not process group itself,
|
||||||
|
to TIOCSPGRP ioctl.
|
||||||
|
|
||||||
* inflow.c (terminal_ours_1): Don't print warning on failure to
|
* inflow.c (terminal_ours_1): Don't print warning on failure to
|
||||||
set process group.
|
set process group.
|
||||||
|
|
||||||
|
|
|
@ -235,7 +235,7 @@ terminal_inferior ()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SGTTY
|
#ifdef HAVE_SGTTY
|
||||||
result = ioctl (0, TIOCSPGRP, inferior_process_group);
|
result = ioctl (0, TIOCSPGRP, &inferior_process_group);
|
||||||
if (!attach_flag)
|
if (!attach_flag)
|
||||||
OOPSY ("TIOCSPGRP");
|
OOPSY ("TIOCSPGRP");
|
||||||
#endif
|
#endif
|
||||||
|
@ -337,7 +337,7 @@ terminal_ours_1 (output_only)
|
||||||
#endif /* termios */
|
#endif /* termios */
|
||||||
|
|
||||||
#ifdef HAVE_SGTTY
|
#ifdef HAVE_SGTTY
|
||||||
result = ioctl (0, TIOCSPGRP, our_process_group);
|
result = ioctl (0, TIOCSPGRP, &our_process_group);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue