diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-06-27 04:01:53 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-06-27 04:01:53 +0000 |
commit | 26c8e115ebb78538122b30b1007ce2eb337d8fe9 (patch) | |
tree | e0e27c402422a3a551703ba5a7e87148554ece8f /print/lgrind/files | |
parent | cd2c175bc39d93404d0bf5f27ef511866cd87314 (diff) | |
download | ports-26c8e115ebb78538122b30b1007ce2eb337d8fe9.tar.gz ports-26c8e115ebb78538122b30b1007ce2eb337d8fe9.zip |
Notes
Diffstat (limited to 'print/lgrind/files')
-rw-r--r-- | print/lgrind/files/patch-lgutil_c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/print/lgrind/files/patch-lgutil_c b/print/lgrind/files/patch-lgutil_c new file mode 100644 index 000000000000..08ce9386b6a1 --- /dev/null +++ b/print/lgrind/files/patch-lgutil_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-lgutil_c,v 1.1 2003/05/01 11:54:15 avsm Exp $ +--- source/lgutil.c.orig Tue Apr 15 22:55:24 2003 ++++ source/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; |