summaryrefslogtreecommitdiff
path: root/irc/ircII/files/patch-source_help.c
diff options
context:
space:
mode:
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);