From 6b72ba55194cf5d343144e78d8531ae69d3791c3 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Tue, 6 Jun 2000 14:13:30 +0000 Subject: Initial import of whichman - a set of 3 utilities to perform approximate search among manpages and files. PR: 19050 Submitted by: Yen-Ming Lee --- misc/whichman/files/patch-aa | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 misc/whichman/files/patch-aa (limited to 'misc/whichman/files/patch-aa') 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)); -- cgit v1.2.3