aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorDan Nicolaescu2010-10-03 07:16:48 -0700
committerDan Nicolaescu2010-10-03 07:16:48 -0700
commit57507bf8b5e37c0d9355aaafbf5abb46998af392 (patch)
tree5a164dbc3c1bcf7d513f86bec35eec46e0206bb6 /src/process.c
parentdd5ecd6bb5778143554b5f82cd05bab3234bc5e8 (diff)
downloademacs-57507bf8b5e37c0d9355aaafbf5abb46998af392.tar.gz
emacs-57507bf8b5e37c0d9355aaafbf5abb46998af392.zip
Remove unused code.
* src/sysdep.c (select_alarm, sys_select, read_input_waiting): Remove select emulation, all systems support select. (set_exclusive_use): Remove, the only user is in an #if 0 block. * src/process.c (create_process): Remove #if 0 code.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/process.c b/src/process.c
index 435e0784455..d149537878c 100644
--- a/src/process.c
+++ b/src/process.c
@@ -118,6 +118,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
118#ifdef HAVE_NS 118#ifdef HAVE_NS
119#include "nsterm.h" 119#include "nsterm.h"
120#endif 120#endif
121
121extern int timers_run; 122extern int timers_run;
122 123
123Lisp_Object Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess, Qttname, Qtpgid; 124Lisp_Object Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess, Qttname, Qtpgid;
@@ -1870,12 +1871,6 @@ create_process (Lisp_Object process, char **new_argv, Lisp_Object current_dir)
1870 } 1871 }
1871#endif 1872#endif
1872 1873
1873#if 0
1874 /* Replaced by close_process_descs */
1875 set_exclusive_use (inchannel);
1876 set_exclusive_use (outchannel);
1877#endif
1878
1879#ifdef O_NONBLOCK 1874#ifdef O_NONBLOCK
1880 fcntl (inchannel, F_SETFL, O_NONBLOCK); 1875 fcntl (inchannel, F_SETFL, O_NONBLOCK);
1881 fcntl (outchannel, F_SETFL, O_NONBLOCK); 1876 fcntl (outchannel, F_SETFL, O_NONBLOCK);