Commit 5654bf63 authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

(Fcall_process): Remove always true #if.

parent 7b3a82d7
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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment