[mapguide-commits] r6834 - branches/2.4/MgDev/Common/Foundation/System

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Jul 2 09:26:01 PDT 2012


Author: jng
Date: 2012-07-02 09:26:00 -0700 (Mon, 02 Jul 2012)
New Revision: 6834

Modified:
   branches/2.4/MgDev/Common/Foundation/System/FileUtil.cpp
Log:
#1884: Port r6323 to 2.4 branch

Modified: branches/2.4/MgDev/Common/Foundation/System/FileUtil.cpp
===================================================================
--- branches/2.4/MgDev/Common/Foundation/System/FileUtil.cpp	2012-07-02 15:41:36 UTC (rev 6833)
+++ branches/2.4/MgDev/Common/Foundation/System/FileUtil.cpp	2012-07-02 16:26:00 UTC (rev 6834)
@@ -788,7 +788,7 @@
 
     int errCode = ACE_OS::unlink(MG_WCHAR_TO_TCHAR(pathname));
 
-    if (0 != errCode)
+    if (0 != errCode && strict)
     {
         errCode = errno; // This is not thread safe - requires guard
         MgStringCollection arguments;



More information about the mapguide-commits mailing list