summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2009-08-26 20:22:17 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2009-08-26 20:22:17 +0000
commit5654bf6320a8469c5ea37a8aa09b2c16f773865e (patch)
tree8f215fa275e1483c4de7ad13124fe953f11a2a53
parent7b3a82d7e39fd42c1e1c096935758902fa48c2cb (diff)
downloademacs-5654bf6320a8469c5ea37a8aa09b2c16f773865e.tar.gz
(Fcall_process): Remove always true #if.
-rw-r--r--src/ChangeLog2
-rw-r--r--src/callproc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 37f2566ffbe..8fd6875edaa 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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.
diff --git a/src/callproc.c b/src/callproc.c
index 54d270b57ef..14d1ac0b3d6 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -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)
{