aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorJim Blandy1993-03-11 07:14:16 +0000
committerJim Blandy1993-03-11 07:14:16 +0000
commita87b802fe94be3d85c68c56e52f0343741b56421 (patch)
treeb3cb841ab1390405e71b8cde958587553887fd9d /src/process.c
parent340176df06d5d6a274317c25f0d6e56fe8dd6403 (diff)
downloademacs-a87b802fe94be3d85c68c56e52f0343741b56421.tar.gz
emacs-a87b802fe94be3d85c68c56e52f0343741b56421.zip
* process.c (process_send_signal): In the TERMIOS code for sending
control characters to processes, don't try to return Qnil; just return. * process.c [! subprocesses] (wait_reading_process_input): Remember to re-enable polling for input.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c
index 95be209f94c..247c5e21357 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2342,12 +2342,12 @@ process_send_signal (process, signo, current_group, nomsg)
2342 case SIGINT: 2342 case SIGINT:
2343 tcgetattr (XFASTINT (p->infd), &t); 2343 tcgetattr (XFASTINT (p->infd), &t);
2344 send_process (proc, &t.c_cc[VINTR], 1); 2344 send_process (proc, &t.c_cc[VINTR], 1);
2345 return Qnil; 2345 return;
2346 2346
2347 case SIGQUIT: 2347 case SIGQUIT:
2348 tcgetattr (XFASTINT (p->infd), &t); 2348 tcgetattr (XFASTINT (p->infd), &t);
2349 send_process (proc, &t.c_cc[VQUIT], 1); 2349 send_process (proc, &t.c_cc[VQUIT], 1);
2350 return Qnil; 2350 return;
2351 2351
2352 case SIGTSTP: 2352 case SIGTSTP:
2353 tcgetattr (XFASTINT (p->infd), &t); 2353 tcgetattr (XFASTINT (p->infd), &t);
@@ -2356,7 +2356,7 @@ process_send_signal (process, signo, current_group, nomsg)
2356#else 2356#else
2357 send_process (proc, &t.c_cc[VSUSP], 1); 2357 send_process (proc, &t.c_cc[VSUSP], 1);
2358#endif 2358#endif
2359 return Qnil; 2359 return;
2360 } 2360 }
2361 2361
2362#else /* ! HAVE_TERMIOS */ 2362#else /* ! HAVE_TERMIOS */
@@ -3167,6 +3167,8 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
3167 break; 3167 break;
3168 } 3168 }
3169 3169
3170 start_polling ();
3171
3170 return 0; 3172 return 0;
3171} 3173}
3172 3174