diff options
| author | Gerd Moellmann | 2000-10-18 11:59:20 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-10-18 11:59:20 +0000 |
| commit | a42943e93e368b67e438a4cb370a355c51c5f9a9 (patch) | |
| tree | b8a5ffc5fc46e6f972aa65cb9657ecb3107852f5 /src/alloc.c | |
| parent | 70772ed1ac4c747a004e10cce40aacfadded0904 (diff) | |
| download | emacs-a42943e93e368b67e438a4cb370a355c51c5f9a9.tar.gz emacs-a42943e93e368b67e438a4cb370a355c51c5f9a9.zip | |
(allocate_string) [GC_CHECK_STRING_BYTES]: Call
check_string_bytes only if not noninteractive, increase count to 50.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index a50eaa0a560..510d4671183 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -1138,7 +1138,7 @@ allocate_string () | |||
| 1138 | consing_since_gc += sizeof *s; | 1138 | consing_since_gc += sizeof *s; |
| 1139 | 1139 | ||
| 1140 | #ifdef GC_CHECK_STRING_BYTES | 1140 | #ifdef GC_CHECK_STRING_BYTES |
| 1141 | if (++check_string_bytes_count == 10) | 1141 | if (!noninteractive && ++check_string_bytes_count == 50) |
| 1142 | { | 1142 | { |
| 1143 | check_string_bytes_count = 0; | 1143 | check_string_bytes_count = 0; |
| 1144 | check_string_bytes (); | 1144 | check_string_bytes (); |