From: kawi Date: Tue, 30 Dec 2014 07:51:50 +0000 (+0100) Subject: ReDirectory: linux code moved X-Git-Url: https://gitweb.hamatoma.de/?a=commitdiff_plain;h=1add69b4d9272516021b5db457d70fd5d39aa730;p=crepublib ReDirectory: linux code moved --- diff --git a/base/ReDirectory.cpp b/base/ReDirectory.cpp index d8fc298..5bbf67f 100644 --- a/base/ReDirectory.cpp +++ b/base/ReDirectory.cpp @@ -124,8 +124,8 @@ bool ReDirectory::findFirst(const char* pattern, bool isRegExpr){ bool rc = false; if (m_valid){ m_pattern.set(pattern, -1); - m_isRegExpr = isRegExpr; #if defined __linux__ + m_isRegExpr = isRegExpr; if (isRegExpr){ if (m_regExprIsInitialized) regfree(&m_regExpr);