aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2009-08-26 20:22:17 +0000
committerDan Nicolaescu2009-08-26 20:22:17 +0000
commit5654bf6320a8469c5ea37a8aa09b2c16f773865e (patch)
tree8f215fa275e1483c4de7ad13124fe953f11a2a53 /src
parent7b3a82d7e39fd42c1e1c096935758902fa48c2cb (diff)
downloademacs-5654bf6320a8469c5ea37a8aa09b2c16f773865e.tar.gz
emacs-5654bf6320a8469c5ea37a8aa09b2c16f773865e.zip
(Fcall_process): Remove always true #if.
Diffstat (limited to 'src')
-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 @@
12009-08-26 Dan Nicolaescu <dann@ics.uci.edu> 12009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * callproc.c (Fcall_process): Remove always true #if.
4
3 * lisp.h: Replace #if 0 code for checking with text pointing to 5 * lisp.h: Replace #if 0 code for checking with text pointing to
4 the --enable-checking configure flag. 6 the --enable-checking configure flag.
5 7
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) */)
793 if (process_coding.mode & CODING_MODE_LAST_BLOCK) 793 if (process_coding.mode & CODING_MODE_LAST_BLOCK)
794 break; 794 break;
795 795
796#if (CALLPROC_BUFFER_SIZE_MIN != CALLPROC_BUFFER_SIZE_MAX)
797 /* Make the buffer bigger as we continue to read more data, 796 /* Make the buffer bigger as we continue to read more data,
798 but not past CALLPROC_BUFFER_SIZE_MAX. */ 797 but not past CALLPROC_BUFFER_SIZE_MAX. */
799 if (bufsize < CALLPROC_BUFFER_SIZE_MAX && total_read > 32 * bufsize) 798 if (bufsize < CALLPROC_BUFFER_SIZE_MAX && total_read > 32 * bufsize)
800 if ((bufsize *= 2) > CALLPROC_BUFFER_SIZE_MAX) 799 if ((bufsize *= 2) > CALLPROC_BUFFER_SIZE_MAX)
801 bufsize = CALLPROC_BUFFER_SIZE_MAX; 800 bufsize = CALLPROC_BUFFER_SIZE_MAX;
802#endif
803 801
804 if (display_p) 802 if (display_p)
805 { 803 {