coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/3] maint: correct a stale comment in sort.c


From: Jim Meyering
Subject: [PATCH 2/3] maint: correct a stale comment in sort.c
Date: Thu, 16 Aug 2012 20:22:17 +0200

From: Jim Meyering <address@hidden>

* 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(-)

diff --git a/src/sort.c b/src/sort.c
index 85d7869..d362dc5 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));
-- 
1.7.12.rc2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]