1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/misc/whichman/files/patch-aa
Maxim Sobolev 6b72ba5519 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>
2000-06-06 14:13:30 +00:00

14 lines
520 B
Plaintext

--- 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));