[mapguide-commits] r6835 - trunk/MgDev/Common/Foundation/System

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Jul 2 09:28:11 PDT 2012


Author: jng
Date: 2012-07-02 09:28:10 -0700 (Mon, 02 Jul 2012)
New Revision: 6835

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

Modified: trunk/MgDev/Common/Foundation/System/FileUtil.cpp
===================================================================
--- trunk/MgDev/Common/Foundation/System/FileUtil.cpp	2012-07-02 16:26:00 UTC (rev 6834)
+++ trunk/MgDev/Common/Foundation/System/FileUtil.cpp	2012-07-02 16:28:10 UTC (rev 6835)
@@ -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