Changeset 4132
- Timestamp:
- 07/31/06 08:16:22 (2 years ago)
- Files:
-
- trunk/src/ChangeLog.Meadow (modified) (1 diff)
- trunk/src/keyboard.c (modified) (2 diffs)
- trunk/src/process.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/ChangeLog.Meadow
r4131 r4132 1 2006-07-31 MIYOSHI Masanori <miyoshi@meadowy.org> 2 3 * process.c (wait_reading_process_output): Reset `got_some_input' 4 when timeout has occured. 5 6 * keyboard.c (kbd_buffer_get_event): Call note_sync_event() even 7 if the end time is specified. 8 (kbd_buffer_get_event): Call read_avail_input() with the return 9 value of wait_reading_process_output(). 10 1 11 2006-07-29 MIYOSHI Masanori <miyoshi@meadowy.org> 2 12 trunk/src/keyboard.c
r4131 r4132 3941 3941 register int c; 3942 3942 Lisp_Object obj; 3943 #ifdef MEADOW 3944 int have_input; 3945 extern void note_sync_event (void); 3946 #endif 3943 3947 3944 3948 if (noninteractive) … … 3989 3993 return Qnil; 3990 3994 else 3995 #ifdef MEADOW 3996 { 3997 note_sync_event (); 3998 have_input = wait_reading_process_output (EMACS_SECS (duration), 3999 EMACS_USECS (duration), 4000 -1, 1, Qnil, NULL, 0); 4001 } 4002 #else 3991 4003 wait_reading_process_output (EMACS_SECS (duration), 3992 4004 EMACS_USECS (duration), 3993 4005 -1, 1, Qnil, NULL, 0); 4006 #endif 3994 4007 } 3995 4008 else 3996 4009 #ifdef MEADOW 3997 4010 { 3998 extern void note_sync_event (void);3999 4000 note_sync_event ();4001 #endif /* MEADOW */ 4002 4011 note_sync_event (); 4012 have_input = wait_reading_process_output (0, 0, -1, 1, 4013 Qnil, NULL, 0); 4014 } 4015 #else 4003 4016 wait_reading_process_output (0, 0, -1, 1, Qnil, NULL, 0); 4017 4018 #endif 4019 if (!interrupt_input && kbd_fetch_ptr == kbd_store_ptr) 4004 4020 #ifdef MEADOW 4005 } 4006 #endif /* MEADOW */ 4007 4008 if (!interrupt_input && kbd_fetch_ptr == kbd_store_ptr) 4021 read_avail_input (have_input); 4022 #else 4009 4023 /* Pass 1 for EXPECT since we just waited to have input. */ 4010 4024 read_avail_input (1); 4025 #endif 4011 4026 #endif /* not VMS */ 4012 4027 } trunk/src/process.c
r4111 r4132 4618 4618 4619 4619 if (time_limit && nfds == 0 && ! timeout_reduced_for_timers) 4620 #ifdef MEADOW 4621 { 4622 /* This is a temporary hack and should be removed soon. 4623 Refer to [meadow-develop: 7431]. */ 4624 got_some_input = 0; 4625 #endif 4620 4626 /* We wanted the full specified time, so return now. */ 4621 4627 break; 4628 #ifdef MEADOW 4629 } 4630 #endif 4622 4631 if (nfds < 0) 4623 4632 {
