[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/process.c
From: |
Kim F . Storm |
Subject: |
[Emacs-diffs] Changes to emacs/src/process.c |
Date: |
Sun, 01 Aug 2004 19:28:59 -0400 |
Index: emacs/src/process.c
diff -c emacs/src/process.c:1.433 emacs/src/process.c:1.434
*** emacs/src/process.c:1.433 Mon Jul 19 04:42:43 2004
--- emacs/src/process.c Sun Aug 1 23:10:06 2004
***************
*** 4195,4201 ****
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.
*/
FD_CLR (0, &Atemp);
#endif
--- 4195,4201 ----
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.
*/
FD_CLR (0, &Atemp);
#endif
***************
*** 4762,4777 ****
if (DATAGRAM_CHAN_P (channel))
{
int len = datagram_address[channel].len;
! nbytes = recvfrom (channel, chars + carryover, readmax - carryover,
0, datagram_address[channel].sa, &len);
}
else
#endif
if (proc_buffered_char[channel] < 0)
{
! nbytes = emacs_read (channel, chars + carryover, readmax - carryover);
#ifdef ADAPTIVE_READ_BUFFERING
! if (!NILP (p->adaptive_read_buffering))
{
int delay = XINT (p->read_output_delay);
if (nbytes < 256)
--- 4762,4777 ----
if (DATAGRAM_CHAN_P (channel))
{
int len = datagram_address[channel].len;
! nbytes = recvfrom (channel, chars + carryover, readmax,
0, datagram_address[channel].sa, &len);
}
else
#endif
if (proc_buffered_char[channel] < 0)
{
! nbytes = emacs_read (channel, chars + carryover, readmax);
#ifdef ADAPTIVE_READ_BUFFERING
! if (nbytes > 0 && !NILP (p->adaptive_read_buffering))
{
int delay = XINT (p->read_output_delay);
if (nbytes < 256)
***************
*** 4783,4789 ****
delay += READ_OUTPUT_DELAY_INCREMENT * 2;
}
}
! else if (delay > 0 && (nbytes == readmax - carryover))
{
delay -= READ_OUTPUT_DELAY_INCREMENT;
if (delay == 0)
--- 4783,4789 ----
delay += READ_OUTPUT_DELAY_INCREMENT * 2;
}
}
! else if (delay > 0 && (nbytes == readmax))
{
delay -= READ_OUTPUT_DELAY_INCREMENT;
if (delay == 0)
***************
*** 4802,4808 ****
{
chars[carryover] = proc_buffered_char[channel];
proc_buffered_char[channel] = -1;
! nbytes = emacs_read (channel, chars + carryover + 1, readmax - 1 -
carryover);
if (nbytes < 0)
nbytes = 1;
else
--- 4802,4808 ----
{
chars[carryover] = proc_buffered_char[channel];
proc_buffered_char[channel] = -1;
! nbytes = emacs_read (channel, chars + carryover + 1, readmax - 1);
if (nbytes < 0)
nbytes = 1;
else
- [Emacs-diffs] Changes to emacs/src/process.c,
Kim F . Storm <=
- [Emacs-diffs] Changes to emacs/src/process.c, Richard M . Stallman, 2004/08/16
- [Emacs-diffs] Changes to emacs/src/process.c, Kim F . Storm, 2004/08/17
- [Emacs-diffs] Changes to emacs/src/process.c, Kim F . Storm, 2004/08/17
- [Emacs-diffs] Changes to emacs/src/process.c, Kim F . Storm, 2004/08/19
- [Emacs-diffs] Changes to emacs/src/process.c, Kim F . Storm, 2004/08/19
- [Emacs-diffs] Changes to emacs/src/process.c, Kim F . Storm, 2004/08/20
- [Emacs-diffs] Changes to emacs/src/process.c, Richard M . Stallman, 2004/08/22