From e7d1a299fb352a9f4cb8cdca9d6983f898beb374 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Sun, 8 Dec 2002 22:35:19 -0500 Subject: [PATCH] Fix bug in globbing. Now it actually uses only files or directories that result in globbing not the ones that were is the vector before --- Source/cmSystemTools.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index b5ebed2dd..40fafe22f 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -2291,6 +2291,7 @@ bool cmSystemTools::SimpleGlob(const std::string& glob, std::vector& files, int type /* = 0 */) { + files.clear(); if ( glob[glob.size()-1] != '*' ) { return false;