aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorKaroly Lorentey2006-01-11 14:51:51 +0000
committerKaroly Lorentey2006-01-11 14:51:51 +0000
commit6bbba5a627cf59d22d9b21f8f7405e43af2e94cf (patch)
treef7fa2589b087667c561e7e8d9d5e3de5a8d702fb /src/process.c
parenta8bf7299ee74781dd485c33c5eac20aee0f0ebef (diff)
downloademacs-6bbba5a627cf59d22d9b21f8f7405e43af2e94cf.tar.gz
emacs-6bbba5a627cf59d22d9b21f8f7405e43af2e94cf.zip
Fix C-g during `make-network-process'. (Reported by Mark Plaksin.)
* src/process.c (Fmake_network_process): Don't unrequest_sigio on modern systems. * src/keyboard.c (Fset_input_interrupt_mode): Cosmetic change. * src/sysdep.c (request_sigio): Make it a no-op if noninteractive. (unrequest_sigio): Make it a no-op if noninteractive. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-494
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index 05ea7c863b0..9d4e203452e 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3086,6 +3086,10 @@ usage: (make-network-process &rest ARGS) */)
3086 3086
3087 open_socket: 3087 open_socket:
3088 3088
3089#ifdef __ultrix__
3090 /* Previously this was compiled unconditionally, but that seems
3091 unnecessary on modern systems, and `unrequest_sigio' was a noop
3092 under X anyway. --lorentey */
3089 /* Kernel bugs (on Ultrix at least) cause lossage (not just EINTR) 3093 /* Kernel bugs (on Ultrix at least) cause lossage (not just EINTR)
3090 when connect is interrupted. So let's not let it get interrupted. 3094 when connect is interrupted. So let's not let it get interrupted.
3091 Note we do not turn off polling, because polling is only used 3095 Note we do not turn off polling, because polling is only used
@@ -3102,6 +3106,7 @@ usage: (make-network-process &rest ARGS) */)
3102 record_unwind_protect (unwind_request_sigio, Qnil); 3106 record_unwind_protect (unwind_request_sigio, Qnil);
3103 unrequest_sigio (); 3107 unrequest_sigio ();
3104 } 3108 }
3109#endif
3105 3110
3106 /* Do this in case we never enter the for-loop below. */ 3111 /* Do this in case we never enter the for-loop below. */
3107 count1 = SPECPDL_INDEX (); 3112 count1 = SPECPDL_INDEX ();