Mercurial > emacs
diff src/process.c @ 56477:59a86f6ee1fb
Fixes for Ctrl-G support on carbon, replacing old timeout based polling
with alarm based polling.
mac.c (sys_select): Redo sys_select to use alarm-based
polling instead of 1 sec timeouts (like solaris).
macterm.c (x_make_frame_visible): Comment in polling on
frame creation.
keyboard.c: Undef SIGIO on Carbon
atimer.c (alarm_signal_handler): Call alarm handlers after
scheduling.
eval.c (Feval): Remove quit_char test
process.c (wait_reading_process_input): Remove clearing
stdin for select call on process input
| author | Steven Tamm <steventamm@mac.com> |
|---|---|
| date | Mon, 19 Jul 2004 04:42:43 +0000 |
| parents | 5839db7619ca |
| children | 64ae47cb68ff e657dca8261e b9eee0a7bef5 |
line wrap: on
line diff
--- a/src/process.c Mon Jul 19 01:00:19 2004 +0000 +++ b/src/process.c Mon Jul 19 04:42:43 2004 +0000 @@ -4190,12 +4190,13 @@ SELECT_TYPE Atemp, Ctemp; Atemp = input_wait_mask; -#ifdef MAC_OSX - /* On Mac OS X, the SELECT system call always says input is +#if 0 + /* On Mac OS X 10.0, the SELECT system call always says input is present (for reading) at stdin, even when none is. This causes the call to SELECT below to return 1 and status_notify not to be called. As a result output of - subprocesses are incorrectly discarded. */ + subprocesses are incorrectly discarded. + */ FD_CLR (0, &Atemp); #endif Ctemp = connect_wait_mask;
