* config/sparc/xm-sun4os4.h: Define MEM_FNS_DECLARED and include
<memory.h>. Include <malloc.h> rather than declaring malloc functions ourself. * ser-unix.c (set_tty_state): Don't ignore errors setting process group. * inflow.c (terminal_inferior): If attach_flag set, ignore errors from set_tty_state.
This commit is contained in:
parent
0c2734c384
commit
7706616f20
3 changed files with 31 additions and 17 deletions
|
@ -159,9 +159,7 @@ set_tty_state(scb, state)
|
|||
if (!job_control)
|
||||
return 0;
|
||||
|
||||
/* Need to ignore errors, at least if attach_flag is set. */
|
||||
tcsetpgrp (scb->fd, state->process_group);
|
||||
return 0;
|
||||
return tcsetpgrp (scb->fd, state->process_group);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TERMIO
|
||||
|
@ -177,9 +175,7 @@ set_tty_state(scb, state)
|
|||
if (!job_control)
|
||||
return 0;
|
||||
|
||||
/* Need to ignore errors, at least if attach_flag is set. */
|
||||
ioctl (scb->fd, TIOCSPGRP, &state->process_group);
|
||||
return 0;
|
||||
return ioctl (scb->fd, TIOCSPGRP, &state->process_group);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue