dbertoni 2005/04/21 13:54:06
Modified: c/src/xalanc/PlatformSupport URISupport.cpp
Log:
Patch for Jira issue XALANC-487.
Revision Changes Path
1.10 +9 -1 xml-xalan/c/src/xalanc/PlatformSupport/URISupport.cpp
Index: URISupport.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/xalanc/PlatformSupport/URISupport.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- URISupport.cpp 8 Nov 2004 18:11:05 -0000 1.9
+++ URISupport.cpp 21 Apr 2005 20:54:06 -0000 1.10
@@ -126,7 +126,15 @@
// Assume it's a file specification...
#if _XERCES_VERSION >= 20300
- const ArrayJanitor<XMLCh>
theFullPathGuard(XMLPlatformUtils::getFullPath(c_wstr(urlString)), &
(theNormalizedURI.getMemoryManager()));
+ XALAN_USING_XERCES(MemoryManager)
+
+ MemoryManager& theMemoryManager =
theNormalizedURI.getMemoryManager();
+
+ const ArrayJanitor<XMLCh> theFullPathGuard(
+ XMLPlatformUtils::getFullPath(
+ c_wstr(urlString),
+ &theMemoryManager),
+ &theMemoryManager);
#else
const ArrayJanitor<XMLCh>
theFullPathGuard(XMLPlatformUtils::getFullPath(c_wstr(urlString)));
#endif
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]