diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-10-18 21:10:07 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-10-18 21:10:07 +0000 |
commit | 9f8b78f8343545a5a6de607a1d55ec6397ce8c6c (patch) | |
tree | c069e25537c0065f83144a39cd254274158c91db /mandocdb.c | |
parent | a24894c279cda3d965668a3548d070489a8aceed (diff) | |
download | mandoc-9f8b78f8343545a5a6de607a1d55ec6397ce8c6c.tar.gz |
Manuals to be checked with "mandocdb -t" need not be in the current
directory or one of its subdirectories.
Diffstat (limited to 'mandocdb.c')
-rw-r--r-- | mandocdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -685,7 +685,7 @@ filescan(const char *file) exitcode = (int)MANDOCLEVEL_BADARG; say(file, NULL); return; - } else if (strstr(buf, basedir) != buf) { + } else if (OP_TEST != op && strstr(buf, basedir) != buf) { exitcode = (int)MANDOCLEVEL_BADARG; say("", "%s: outside base directory", buf); return; |