/[emacs]/emacs/src/process.c
ViewVC logotype

Diff of /emacs/src/process.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.373.2.7 by miles, Tue Jul 6 09:14:37 2004 UTC revision 1.373.2.8 by miles, Tue Jul 6 09:31:31 2004 UTC
# Line 774  nil, indicating the current buffer's pro Line 774  nil, indicating the current buffer's pro
774        XSETINT (XPROCESS (process)->tick, ++process_tick);        XSETINT (XPROCESS (process)->tick, ++process_tick);
775        status_notify ();        status_notify ();
776      }      }
777    remove_process (process);    /* Do not call remove_process here; either status_notify has already done
778         it, or will do so the next time emacs polls for input.  Thus network
779         processes are not immediately removed, and their sentinel will be
780         called.
781    
782         Since Fdelete_process is called by kill_buffer_processes, this also
783         means that a network process sentinel will run after the buffer is
784         dead, which would not be the case if status_notify() were called
785         unconditionally here.  This way process sentinels observe consistent
786         behavior with regard to buffer-live-p.
787      */
788      /* remove_process (process); */
789    return Qnil;    return Qnil;
790  }  }
791    
# Line 4581  wait_reading_process_input (time_limit, Line 4592  wait_reading_process_input (time_limit,
4592                  }                  }
4593              }              }
4594  #ifdef NON_BLOCKING_CONNECT  #ifdef NON_BLOCKING_CONNECT
4595            if (check_connect && FD_ISSET (channel, &Connecting))            if (check_connect && FD_ISSET (channel, &Connecting)
4596                  && FD_ISSET (channel, &connect_wait_mask))
4597              {              {
4598                struct Lisp_Process *p;                struct Lisp_Process *p;
4599    

Legend:
Removed from v.1.373.2.7  
changed lines
  Added in v.1.373.2.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26