summaryrefslogtreecommitdiff
path: root/irc/ircII/files/patch-source_help.c
diff options
context:
space:
mode:
authorChristoph Moench-Tegeder <cmt@FreeBSD.org>2019-06-06 21:42:23 +0000
committerChristoph Moench-Tegeder <cmt@FreeBSD.org>2019-06-06 21:42:23 +0000
commit83b331ae551c7ca33ad0a88824da8cf121c49ac2 (patch)
treeb3684f9ea0b2aeb368534030d0f02b1f3c47c596 /irc/ircII/files/patch-source_help.c
parentlang/plexil: Fix license (diff)
update irc/ircII to 20190117
PR: 238176 Approved by: maintainer (andrew at tao11 dot riddles dot org dot uk)
Diffstat (limited to 'irc/ircII/files/patch-source_help.c')
-rw-r--r--irc/ircII/files/patch-source_help.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/irc/ircII/files/patch-source_help.c b/irc/ircII/files/patch-source_help.c
new file mode 100644
index 000000000000..f95d308866a7
--- /dev/null
+++ b/irc/ircII/files/patch-source_help.c
@@ -0,0 +1,11 @@
+--- source/help.c.orig 2019-05-29 09:55:50 UTC
++++ source/help.c
+@@ -311,7 +311,7 @@ help_topic(u_char *path, u_char *name)
+ #ifdef ZCAT
+ if (my_strcmp(name + (my_strlen(name) - my_strlen(ZSUFFIX)), ZSUFFIX))
+ {
+- malloc_snprintf(&filename, "%s/%s%s", path, ZSUFFIX);
++ malloc_snprintf(&filename, "%s/%s%s", path, name, ZSUFFIX);
+ if (stat(CP(filename), &sb) == -1)
+ {
+ new_free(&filename);