diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-05-29 22:48:10 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-05-29 22:48:10 +0000 |
commit | c1654e5128f96e284f8c7cfce1029b36677a6fd2 (patch) | |
tree | b3e1349b11d84e240d8800e6d0acd5123d390d40 /manpath.c | |
parent | 9ba2ba024a33d9693fb061fcfb634ea35492ca49 (diff) | |
download | mandoc-c1654e5128f96e284f8c7cfce1029b36677a6fd2.tar.gz |
Sync to OpenBSD:
* Guard <sys/param.h> inclusion by #ifdef USE_MANPATH
to make it more obvious why this isn't needed on OpenBSD.
Noticed by deraadt@.
* Resolve gratuitious whitespace differences:
Blanks before tabs and on empty lines.
Diffstat (limited to 'manpath.c')
-rw-r--r-- | manpath.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -19,7 +19,9 @@ #include "config.h" #endif +#ifdef USE_MANPATH #include <sys/param.h> +#endif #include <assert.h> #include <ctype.h> @@ -90,8 +92,8 @@ manpath_parse(struct manpaths *dirs, const char *file, char *insert; /* Always prepend -m. */ - manpath_parseline(dirs, auxp); - + manpath_parseline(dirs, auxp); + /* If -M is given, it overrides everything else. */ if (NULL != defp) { manpath_parseline(dirs, defp); |