[mapguide-commits] r5181 - branches/2.2/MgDev/Web/src/HttpHandler
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed Sep 22 23:48:27 EDT 2010
Author: trevorwekel
Date: 2010-09-23 03:48:27 +0000 (Thu, 23 Sep 2010)
New Revision: 5181
Modified:
branches/2.2/MgDev/Web/src/HttpHandler/HttpWmsGetCapabilities.cpp
branches/2.2/MgDev/Web/src/HttpHandler/WmsMapUtil.cpp
Log:
Ticket #1423 Linux std::string not thread safe
- Submit changes for Web
Modified: branches/2.2/MgDev/Web/src/HttpHandler/HttpWmsGetCapabilities.cpp
===================================================================
--- branches/2.2/MgDev/Web/src/HttpHandler/HttpWmsGetCapabilities.cpp 2010-09-23 03:47:44 UTC (rev 5180)
+++ branches/2.2/MgDev/Web/src/HttpHandler/HttpWmsGetCapabilities.cpp 2010-09-23 03:48:27 UTC (rev 5181)
@@ -46,7 +46,7 @@
bool GetDocument(CPSZ pszDoc,REFSTRING sRet)
{
//TODO: Remove dependency on thread local storage
- MgUserInformation* userInfo = MgUserInformation::GetCurrentUserInfo();
+ Ptr<MgUserInformation> userInfo = MgUserInformation::GetCurrentUserInfo();
Ptr<MgServerAdmin> serverAdmin = new MgServerAdmin();
serverAdmin->Open(userInfo);
Modified: branches/2.2/MgDev/Web/src/HttpHandler/WmsMapUtil.cpp
===================================================================
--- branches/2.2/MgDev/Web/src/HttpHandler/WmsMapUtil.cpp 2010-09-23 03:47:44 UTC (rev 5180)
+++ branches/2.2/MgDev/Web/src/HttpHandler/WmsMapUtil.cpp 2010-09-23 03:48:27 UTC (rev 5181)
@@ -46,7 +46,7 @@
bool MgWmsMapUtil::GetDocument(CPSZ pszDoc,REFSTRING sRet)
{
//TODO: Remove dependency on thread local storage
- MgUserInformation* userInfo = MgUserInformation::GetCurrentUserInfo();
+ Ptr<MgUserInformation> userInfo = MgUserInformation::GetCurrentUserInfo();
Ptr<MgServerAdmin> serverAdmin = new MgServerAdmin();
serverAdmin->Open(userInfo);
More information about the mapguide-commits
mailing list