Changeset 4133

Show
Ignore:
Timestamp:
08/01/06 23:23:11 (2 years ago)
Author:
miyoshi
Message:

* process.c (wait_reading_process_output): Revert the last change.

* mw32term.c (MW32_read_socket): Ignore the 2nd argument
`expected'. Refer to 7443.

* keyboard.c (kbd_buffer_get_event): Remove `have_input'.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/ChangeLog.Meadow

    r4132 r4133  
     12006-08-01  MIYOSHI Masanori  <miyoshi@meadowy.org> 
     2 
     3        * process.c (wait_reading_process_output): Revert the last change. 
     4 
     5        * mw32term.c (MW32_read_socket): Ignore the 2nd argument 
     6        `expected'. Refer to [meadow-develop: 7443]. 
     7 
     8        * keyboard.c (kbd_buffer_get_event): Remove `have_input'. 
     9 
    1102006-07-31  MIYOSHI Masanori  <miyoshi@meadowy.org> 
    211 
  • trunk/src/keyboard.c

    r4132 r4133  
    39423942  Lisp_Object obj; 
    39433943#ifdef MEADOW 
    3944   int have_input; 
    39453944  extern void note_sync_event (void); 
    39463945#endif 
     
    39963995            { 
    39973996              note_sync_event (); 
    3998               have_input = wait_reading_process_output (EMACS_SECS (duration), 
    3999                                                        EMACS_USECS (duration), 
    4000                                                        -1, 1, Qnil, NULL, 0); 
     3997              wait_reading_process_output (EMACS_SECS (duration), 
     3998                                           EMACS_USECS (duration), 
     3999                                           -1, 1, Qnil, NULL, 0); 
    40014000            } 
    40024001#else 
     
    40104009        { 
    40114010          note_sync_event (); 
    4012           have_input = wait_reading_process_output (0, 0, -1, 1, 
    4013                                                     Qnil, NULL, 0); 
     4011          wait_reading_process_output (0, 0, -1, 1, Qnil, NULL, 0); 
    40144012        } 
    40154013#else 
     
    40184016#endif 
    40194017      if (!interrupt_input && kbd_fetch_ptr == kbd_store_ptr) 
    4020 #ifdef MEADOW 
    4021         read_avail_input (have_input); 
    4022 #else 
    40234018        /* Pass 1 for EXPECT since we just waited to have input.  */ 
    40244019        read_avail_input (1); 
    4025 #endif 
    40264020#endif /* not VMS */ 
    40274021    } 
  • trunk/src/mw32term.c

    r4119 r4133  
    45344534  if (expected) 
    45354535    { 
     4536#if 0 
     4537      /* Ignore `expected'. Refer to [meadow-develop: 7443]. */ 
    45364538      ResetEvent (keyboard_handle); 
    45374539      WaitForSingleObject (keyboard_handle, INFINITE); 
     4540#endif 
    45384541    } 
    45394542  return 0; 
  • trunk/src/process.c

    r4132 r4133  
    46184618 
    46194619      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 
    46264620        /* We wanted the full specified time, so return now.  */ 
    46274621        break; 
    4628 #ifdef MEADOW 
    4629         } 
    4630 #endif 
    46314622      if (nfds < 0) 
    46324623        {