You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2005/04/21 22:54:06 UTC

cvs commit: xml-xalan/c/src/xalanc/PlatformSupport URISupport.cpp

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: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org