From 824f4092132c1af39c6f66c77b334010303a428a Mon Sep 17 00:00:00 2001 From: Tibor Bizjak Date: Sun, 25 Jun 2023 18:47:18 +0200 Subject: [PATCH] increased buffer size --- k&r/04-funcs-and-prog-struct/04-grep-grace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k&r/04-funcs-and-prog-struct/04-grep-grace.c b/k&r/04-funcs-and-prog-struct/04-grep-grace.c index 604561c..dc7cc80 100644 --- a/k&r/04-funcs-and-prog-struct/04-grep-grace.c +++ b/k&r/04-funcs-and-prog-struct/04-grep-grace.c @@ -67,7 +67,7 @@ void println() /* ------------------------ line buffer ---------------------- */ -#define LNBUFF_LEN 8 +#define LNBUFF_LEN 128 /* the line buffer lenght must be a power of two */ static_assert(!(LNBUFF_LEN % 2), "Line buffer length is not a power of two!");