[Xapian-commits] 7886: trunk/xapian-core/ trunk/xapian-core/common/ trunk/xapian-core/tests/ trunk/xapian-core/tests/harness/

olly xapian-commits at lists.xapian.org
Tue Mar 6 01:52:18 GMT 2007


SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       7886
Date:           2007-03-06 01:52:16 +0000 (Tue, 06 Mar 2007)

Log message (5 lines):
common/utils.cc,tests/btreetest.cc,tests/harness/,
tests/quartztest.cc: rmdir() is only used in the test suite, and not
in the library code, so move it into the testsuite.  Also, bow out
early if the pathname passed is empty, and on Unix protect against
filenames which start with "-".

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/common/utils.cc
U   trunk/xapian-core/tests/btreetest.cc
U   trunk/xapian-core/tests/harness/Makefile.mk
U   trunk/xapian-core/tests/harness/backendmanager.cc
A   trunk/xapian-core/tests/harness/rmdir.cc
A   trunk/xapian-core/tests/harness/rmdir.h
U   trunk/xapian-core/tests/quartztest.cc

Links:
http://xapian.org/C?7886
http://xapian.org/C?7886?trunk/xapian-core/ChangeLog
http://xapian.org/C?7886?trunk/xapian-core/common/utils.cc
http://xapian.org/C?7886?trunk/xapian-core/tests/btreetest.cc
http://xapian.org/C?7886?trunk/xapian-core/tests/harness/Makefile.mk
http://xapian.org/C?7886?trunk/xapian-core/tests/harness/backendmanager.cc
http://xapian.org/C?7886?trunk/xapian-core/tests/harness/rmdir.cc?A
http://xapian.org/C?7886?trunk/xapian-core/tests/harness/rmdir.h?A
http://xapian.org/C?7886?trunk/xapian-core/tests/quartztest.cc



More information about the Xapian-commits mailing list