]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: correct a stale comment in sort.c
authorJim Meyering <meyering@redhat.com>
Wed, 15 Aug 2012 09:31:24 +0000 (11:31 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 16 Aug 2012 18:13:59 +0000 (20:13 +0200)
* src/sort.c (fillbuf): Fix comment typo.  x2nrealloc no longer
doubles the size of its input buffer.

src/sort.c

index 85d7869de737d98bf87cc767c4fb5cb24e16fc83..d362dc54ae68bb6d13284203b4a3adb2ad0b33c6 100644 (file)
@@ -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));