* 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:
Jim Kingdon 1993-07-27 22:37:51 +00:00
parent 0c2734c384
commit 7706616f20
3 changed files with 31 additions and 17 deletions

View file

@ -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
}