summaryrefslogtreecommitdiffstats
path: root/misc/whichman/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'misc/whichman/files/patch-aa')
-rw-r--r--misc/whichman/files/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/whichman/files/patch-aa b/misc/whichman/files/patch-aa
new file mode 100644
index 0000000..53796c3
--- /dev/null
+++ b/misc/whichman/files/patch-aa
@@ -0,0 +1,13 @@
+--- whichman.c.orig Tue Jun 6 15:16:51 2000
++++ whichman.c Tue Jun 6 15:17:09 2000
+@@ -399,8 +399,8 @@
+
+ mpath = (char *) getenv("MANPATH");
+ if (mpath == NULL || *mpath == '\0') {
+- fprintf(stderr,"Warning: MANPATH not defined, using /usr/man\n");
+- mpath="/usr/man";
++ fprintf(stderr,"Warning: MANPATH not defined, using /usr/share/man\n");
++ mpath="/usr/share/man";
+ }
+ /* make a copy that is static */
+ cmpath = (char *)malloc(sizeof(char)*(strlen(mpath) + 2));
OpenPOWER on IntegriCloud