change DEFPATH to include new and local
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 31 Jul 1987 01:25:59 +0000 (17:25 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Fri, 31 Jul 1987 01:25:59 +0000 (17:25 -0800)
SCCS-vsn: usr.bin/apropos/apropos.c 5.3

usr/src/usr.bin/apropos/apropos.c

index 5fdd1f4..cfbd253 100644 (file)
@@ -11,14 +11,14 @@ char copyright[] =
 #endif not lint
 
 #ifndef lint
 #endif not lint
 
 #ifndef lint
-static char sccsid[] = "@(#)apropos.c  5.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)apropos.c  5.3 (Berkeley) %G%";
 #endif not lint
 
 #include <sys/param.h>
 #include <stdio.h>
 #include <ctype.h>
 
 #endif not lint
 
 #include <sys/param.h>
 #include <stdio.h>
 #include <ctype.h>
 
-#define        DEF_PATH        "/usr/man"              /* default man path */
+#define        DEF_PATH        "/usr/man:/usr/new/man:/usr/local/man"
 #define        MAXLINELEN      1000                    /* max line handled */
 #define        NO              0                       /* no/false */
 #define        WHATIS          "whatis"                /* database name */
 #define        MAXLINELEN      1000                    /* max line handled */
 #define        NO              0                       /* no/false */
 #define        WHATIS          "whatis"                /* database name */
@@ -173,4 +173,3 @@ usage()
        fprintf(stderr, "usage: %s [-M path] string ...\n", myname);
        exit(1);
 }
        fprintf(stderr, "usage: %s [-M path] string ...\n", myname);
        exit(1);
 }
-