From 1e987a9966122e08a0d47cfd75baf63302314ea8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 15 Aug 2012 11:31:24 +0200 Subject: maint: correct a stale comment in sort.c * src/sort.c (fillbuf): Fix comment typo. x2nrealloc no longer doubles the size of its input buffer. --- src/sort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sort.c b/src/sort.c index 85d7869de..d362dc54a 100644 --- a/src/sort.c +++ b/src/sort.c @@ -1813,7 +1813,7 @@ fillbuf (struct buffer *buf, FILE *fp, char const *file) { /* The current input line is too long to fit in the buffer. - Double the buffer size and try again, keeping it properly + Increase the buffer size and try again, keeping it properly aligned. */ size_t line_alloc = buf->alloc / sizeof (struct line); buf->buf = x2nrealloc (buf->buf, &line_alloc, sizeof (struct line)); -- cgit v1.2.3-54-g00ecf