diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-02-13 16:55:42 +0000 | 
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-02-13 16:55:42 +0000 | 
| commit | df4caab40f0b2d0fe77e807f5214d3ee89bb08f0 (patch) | |
| tree | dc09c4f6ebeacc615c6ae4e7882d559883c18d1b /gnu/usr.bin/man/manpath/manpath.c | |
| parent | 47085b17ae5042e91e63410798301a96d223db23 (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/man/manpath/manpath.c')
| -rw-r--r-- | gnu/usr.bin/man/manpath/manpath.c | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/usr.bin/man/manpath/manpath.c b/gnu/usr.bin/man/manpath/manpath.c index bdfbfc61d79e..c500a55f2546 100644 --- a/gnu/usr.bin/man/manpath/manpath.c +++ b/gnu/usr.bin/man/manpath/manpath.c @@ -423,6 +423,14 @@ get_manpath (perrs, path)        if (debug)  	fprintf (stderr, "\npath directory %s ", p); +      if (*p != '/') +	{ +	  if (debug) +	    fprintf (stderr, "is not an absolute pathname\n"); + +	  goto found;	/* skip. */ +	} +        /*         * The directory we're working on is in the config file.         * If we haven't added it to the list yet, do.  | 
