summaryrefslogtreecommitdiff
path: root/src/csplit.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-01-26 18:51:44 +0000
committerJim Meyering <jim@meyering.net>1994-01-26 18:51:44 +0000
commitc6756ec787c27922538635602d51dbf63da93b67 (patch)
tree1c35749d8032bb7e6f5da5f9edeb9e3fcbbdd2b8 /src/csplit.c
parentf1adf86d0987a704b8bebffc91bdddbbd886e8ee (diff)
downloadcoreutils-c6756ec787c27922538635602d51dbf63da93b67.tar.xz
.
Diffstat (limited to 'src/csplit.c')
-rw-r--r--src/csplit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csplit.c b/src/csplit.c
index 54bd498d7..ad13b2645 100644
--- a/src/csplit.c
+++ b/src/csplit.c
@@ -609,7 +609,7 @@ load_buffer ()
b->bytes_used += (unsigned) read_input (p, bytes_avail);
lines_found = record_line_starts (b);
- bytes_wanted = b->bytes_alloc + INCR_SIZE;
+ bytes_wanted = b->bytes_alloc * 2;
if (!lines_found)
free_buffer (b);
}