From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (schwarze@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id r9ILA83a028633 for ; Fri, 18 Oct 2013 17:10:08 -0400 (EDT) Received: (from schwarze@localhost) by krisdoz.my.domain (8.14.5/8.14.3/Submit) id r9ILA8gB014861; Fri, 18 Oct 2013 17:10:08 -0400 (EDT) Date: Fri, 18 Oct 2013 17:10:08 -0400 (EDT) Message-Id: <201310182110.r9ILA8gB014861@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Manuals to be checked with "mandocdb -t" need not be in the X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Manuals to be checked with "mandocdb -t" need not be in the current directory or one of its subdirectories. Modified Files: -------------- mdocml: mandocdb.c Revision Data ------------- Index: mandocdb.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mandocdb.c,v retrieving revision 1.71 retrieving revision 1.72 diff -Lmandocdb.c -Lmandocdb.c -u -p -r1.71 -r1.72 --- mandocdb.c +++ mandocdb.c @@ -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; -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv