Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/irc/ircII/files/patch-source_help.c
14237 views
1
--- source/help.c.orig 2019-05-29 09:55:50 UTC
2
+++ source/help.c
3
@@ -311,7 +311,7 @@ help_topic(u_char *path, u_char *name)
4
#ifdef ZCAT
5
if (my_strcmp(name + (my_strlen(name) - my_strlen(ZSUFFIX)), ZSUFFIX))
6
{
7
- malloc_snprintf(&filename, "%s/%s%s", path, ZSUFFIX);
8
+ malloc_snprintf(&filename, "%s/%s%s", path, name, ZSUFFIX);
9
if (stat(CP(filename), &sb) == -1)
10
{
11
new_free(&filename);
12
13