aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorPaul Eggert2016-12-06 23:41:45 -0800
committerPaul Eggert2016-12-06 23:43:24 -0800
commit8e5a769965313a7a1c42b5992ed24e8b0ea71ead (patch)
tree1f7d323a1af2bfc1338aef94008af72cb3486e85 /src/process.c
parentf0870da2bb5eee848a5561fb58b2ec3a63861052 (diff)
downloademacs-8e5a769965313a7a1c42b5992ed24e8b0ea71ead.tar.gz
emacs-8e5a769965313a7a1c42b5992ed24e8b0ea71ead.zip
Clean out some IRIX cruft
* etc/MACHINES: Remove obsolete discussion of IRIX. * src/process.c (allocate_pty) [__sgi]: Remove SGI-specific code. (create_process) [HAVE_PTYS]: Don't worry about IRIX. * src/syntax.c (scan_sexps_forward): Remove obsolete comment. * src/unexelf.c [__sgi]: Don't include <syms.h>. (unexec) [__sgi]: Remove SGI-specific code.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/process.c b/src/process.c
index 49340b120ef..8ab73bd9ae6 100644
--- a/src/process.c
+++ b/src/process.c
@@ -690,11 +690,7 @@ allocate_pty (char pty_name[PTY_NAME_SIZE])
690 if (faccessat (AT_FDCWD, pty_name, R_OK | W_OK, AT_EACCESS) != 0) 690 if (faccessat (AT_FDCWD, pty_name, R_OK | W_OK, AT_EACCESS) != 0)
691 { 691 {
692 emacs_close (fd); 692 emacs_close (fd);
693# ifndef __sgi
694 continue; 693 continue;
695# else
696 return -1;
697# endif /* __sgi */
698 } 694 }
699 setup_pty (fd); 695 setup_pty (fd);
700 return fd; 696 return fd;
@@ -1886,9 +1882,8 @@ create_process (Lisp_Object process, char **new_argv, Lisp_Object current_dir)
1886 /* Make the pty be the controlling terminal of the process. */ 1882 /* Make the pty be the controlling terminal of the process. */
1887#ifdef HAVE_PTYS 1883#ifdef HAVE_PTYS
1888 /* First, disconnect its current controlling terminal. */ 1884 /* First, disconnect its current controlling terminal. */
1889 /* We tried doing setsid only if pty_flag, but it caused 1885 if (pty_flag)
1890 process_set_signal to fail on SGI when using a pipe. */ 1886 setsid ();
1891 setsid ();
1892 /* Make the pty's terminal the controlling terminal. */ 1887 /* Make the pty's terminal the controlling terminal. */
1893 if (pty_flag && forkin >= 0) 1888 if (pty_flag && forkin >= 0)
1894 { 1889 {