From: Jim Meyering Date: Wed, 15 Aug 2012 09:31:24 +0000 (+0200) Subject: maint: correct a stale comment in sort.c X-Git-Tag: v8.19~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e987a9966122e08a0d47cfd75baf63302314ea8;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/src/sort.c b/src/sort.c index 85d7869de7..d362dc54ae 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));