diff --git a/textproc/lgrind/patches/patch-lgutil_c b/textproc/lgrind/patches/patch-lgutil_c new file mode 100644 index 00000000000..1e39a5386ad --- /dev/null +++ b/textproc/lgrind/patches/patch-lgutil_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-lgutil_c,v 1.1 2003/05/01 11:54:15 avsm Exp $ +--- lgutil.c.orig Tue Apr 15 22:55:24 2003 ++++ lgutil.c Tue Apr 15 22:56:21 2003 +@@ -113,7 +113,7 @@ void Internal_Help_Language_List() + check=0; + if (*config=='\n' || config[strlen(config)-2]!='\\') + check=1; +- if (fgets(config, BUFFERSIZE, tf)==NULL) break; ++ if (fgets(config, sizeof config, tf)==NULL) break; + if (check!=0) AddToLList(config, &currlch, &llch); + } while (strcmp((*currlch).name, "EndOfLanguageDefinitions")!=0); + rch=lch;