(Fcall_process): Remove always true #if.
This commit is contained in:
parent
7b3a82d7e3
commit
5654bf6320
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
|
||||
|
||||
* callproc.c (Fcall_process): Remove always true #if.
|
||||
|
||||
* lisp.h: Replace #if 0 code for checking with text pointing to
|
||||
the --enable-checking configure flag.
|
||||
|
||||
|
|
|
@ -793,13 +793,11 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */)
|
|||
if (process_coding.mode & CODING_MODE_LAST_BLOCK)
|
||||
break;
|
||||
|
||||
#if (CALLPROC_BUFFER_SIZE_MIN != CALLPROC_BUFFER_SIZE_MAX)
|
||||
/* Make the buffer bigger as we continue to read more data,
|
||||
but not past CALLPROC_BUFFER_SIZE_MAX. */
|
||||
if (bufsize < CALLPROC_BUFFER_SIZE_MAX && total_read > 32 * bufsize)
|
||||
if ((bufsize *= 2) > CALLPROC_BUFFER_SIZE_MAX)
|
||||
bufsize = CALLPROC_BUFFER_SIZE_MAX;
|
||||
#endif
|
||||
|
||||
if (display_p)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue