Fix a bug in get_line_from_file. If the length of the line is (GROWBY * n) +
authorEric Andersen <andersen@codepoet.org>
Sun, 9 Jul 2000 02:38:01 +0000 (02:38 -0000)
committerEric Andersen <andersen@codepoet.org>
Sun, 9 Jul 2000 02:38:01 +0000 (02:38 -0000)
commit161cf93404784ba22e689fab487f38469ae34b98
treecb8487f8fa2c96a8bd977b554a0c26568286e254
parentf12724c21ab0d3f24a087444762ed2220d35259c
Fix a bug in get_line_from_file.  If the length of the line is (GROWBY * n) +
GROWBY - 1, then it writes the null character just after the buffer.  Yipe.
Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu> Thanks Matt!
 -Erik
utility.c