]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(main): Correct a comment.
authorJim Meyering <jim@meyering.net>
Thu, 22 Jun 2000 17:10:51 +0000 (17:10 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 22 Jun 2000 17:10:51 +0000 (17:10 +0000)
src/cat.c

index c5c1a732efda9600e6be2d34068bf5bb82720d50..0fab1abbbb8ce97da63998f692ca9479cc795380 100644 (file)
--- a/src/cat.c
+++ b/src/cat.c
@@ -788,7 +788,7 @@ main (int argc, char **argv)
        {
          inbuf = (unsigned char *) xmalloc (insize + 1);
 
-         /* Why are (OUTSIZE  - 1 + INSIZE * 4 + 13) bytes allocated for
+         /* Why are (OUTSIZE - 1 + INSIZE * 4 + 13) bytes allocated for
             the output buffer?
 
             A test whether output needs to be written is done when the input
@@ -797,8 +797,8 @@ main (int argc, char **argv)
             buffer.  Now INSIZE bytes of input is read.  Each input character
             may grow by a factor of 4 (by the prepending of M-^).  If all
             characters do, and no newlines appear in this block of input, we
-            will have at most (OUTSIZE - 1 + INSIZE) bytes in the buffer.  If
-            the last character in the preceding block of input was a
+            will have at most (OUTSIZE - 1 + INSIZE * 4) bytes in the buffer.
+            If the last character in the preceding block of input was a
             newline, a line number may be written (according to the given
             options) as the first thing in the output buffer. (Done after the
             new input is read, but before processing of the input begins.)  A