summaryrefslogtreecommitdiff
path: root/misc/whichman/files/patch-aa
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-06-06 14:13:30 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-06-06 14:13:30 +0000
commit6b72ba55194cf5d343144e78d8531ae69d3791c3 (patch)
treef3abc3c856896fb5021a50218a55de563c591c25 /misc/whichman/files/patch-aa
parentActivate cvs2cl & cvsutils. (diff)
Initial import of whichman - a set of 3 utilities to perform approximate
search among manpages and files. PR: 19050 Submitted by: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
Notes
Notes: svn path=/head/; revision=29266
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 000000000000..53796c3cfafe
--- /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));