1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 23:31:55 -08:00

(create_process): Ignore retval from TIOCSTTY.

(sys_siglist) [LINUX]: Don't even declare it.
This commit is contained in:
Richard M. Stallman 1993-05-24 17:13:24 +00:00
parent e94817d7cd
commit 084fd64ac9

View file

@ -179,7 +179,9 @@ extern char *sys_errlist[];
#ifndef VMS
#ifndef BSD4_1
#ifndef LINUX
extern char *sys_siglist[];
#endif
#else
char *sys_siglist[] =
{
@ -1253,8 +1255,10 @@ create_process (process, new_argv, current_dir)
setsid ();
#ifdef TIOCSCTTY
/* Make the pty's terminal the controlling terminal. */
if (pty_flag && (ioctl (xforkin, TIOCSCTTY, 0) < 0))
abort ();
if (pty_flag)
/* We ignore the return value
because faith@cs.unc.edu says that is necessary on Linux. */
ioctl (xforkin, TIOCSCTTY, 0);
#endif
#else /* not HAVE_SETSID */
#ifdef USG