[mapguide-commits] r7368 - sandbox/adsk/2.3r.sce/Common/Foundation/System

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Feb 19 00:56:18 PST 2013


Author: hubu
Date: 2013-02-19 00:56:18 -0800 (Tue, 19 Feb 2013)
New Revision: 7368

Modified:
   sandbox/adsk/2.3r.sce/Common/Foundation/System/FileUtil.cpp
Log:
Submit on behalf of Andy Zhang

Integrate fix for ticket http://trac.osgeo.org/mapguide/ticket/1884 to sandbox/adsk/2.3r.sce branch.

Modified: sandbox/adsk/2.3r.sce/Common/Foundation/System/FileUtil.cpp
===================================================================
--- sandbox/adsk/2.3r.sce/Common/Foundation/System/FileUtil.cpp	2013-02-19 06:40:56 UTC (rev 7367)
+++ sandbox/adsk/2.3r.sce/Common/Foundation/System/FileUtil.cpp	2013-02-19 08:56:18 UTC (rev 7368)
@@ -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