version 1.71, 2013/07/02 13:26:52 |
version 1.72, 2013/10/18 21:10:07 |
Line 685 filescan(const char *file) |
|
Line 685 filescan(const char *file) |
|
exitcode = (int)MANDOCLEVEL_BADARG; |
exitcode = (int)MANDOCLEVEL_BADARG; |
say(file, NULL); |
say(file, NULL); |
return; |
return; |
} else if (strstr(buf, basedir) != buf) { |
} else if (OP_TEST != op && strstr(buf, basedir) != buf) { |
exitcode = (int)MANDOCLEVEL_BADARG; |
exitcode = (int)MANDOCLEVEL_BADARG; |
say("", "%s: outside base directory", buf); |
say("", "%s: outside base directory", buf); |
return; |
return; |