diff options
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ feedbuffer(int fd, struct buffer *buffer, const char *fname) { ssize_t r; if (buffer->offset == buffer->size) - buffer->buf = erealloc(buffer->buf, buffer->size += 8096); + buffer->buf = erealloc(buffer->buf, buffer->size += 8192); again: r = read(fd, &buffer->buf[buffer->offset], buffer->size - buffer->offset); if (r <= 0) { |