Mercurial > emacs
diff src/process.c @ 110730:09a7eef06018
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.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sun, 03 Oct 2010 07:16:48 -0700 |
parents | 55c8c3ca3d48 |
children | 00fad82e2b50 |
line wrap: on
line diff
--- a/src/process.c Sun Oct 03 06:59:56 2010 -0700 +++ b/src/process.c Sun Oct 03 07:16:48 2010 -0700 @@ -118,6 +118,7 @@ #ifdef HAVE_NS #include "nsterm.h" #endif + extern int timers_run; Lisp_Object Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess, Qttname, Qtpgid; @@ -1870,12 +1871,6 @@ } #endif -#if 0 - /* Replaced by close_process_descs */ - set_exclusive_use (inchannel); - set_exclusive_use (outchannel); -#endif - #ifdef O_NONBLOCK fcntl (inchannel, F_SETFL, O_NONBLOCK); fcntl (outchannel, F_SETFL, O_NONBLOCK);