You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by kn...@apache.org on 2003/05/16 16:03:28 UTC
cvs commit: xml-xerces/c/src/xercesc/util/NetAccessors/Socket UnixHTTPURLInputStream.cpp
knoaman 2003/05/16 07:03:28
Modified: c/src/xercesc/util/NetAccessors/Socket
UnixHTTPURLInputStream.cpp
Log:
Pass memory manager to makeNewTranscoder.
Revision Changes Path
1.11 +4 -1 xml-xerces/c/src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp
Index: UnixHTTPURLInputStream.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- UnixHTTPURLInputStream.cpp 25 Feb 2003 21:22:36 -0000 1.10
+++ UnixHTTPURLInputStream.cpp 16 May 2003 14:03:28 -0000 1.11
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.11 2003/05/16 14:03:28 knoaman
+ * Pass memory manager to makeNewTranscoder.
+ *
* Revision 1.10 2003/02/25 21:22:36 tng
* Modify UnixHTTPURLInputStream for it to work on ebcdic platform. Patch from Steve Dulin
*
@@ -229,7 +232,7 @@
char* hostNameAsASCII = new char[transSize+1];
ArrayJanitor<char> janBuf2(hostNameAsASCII);
- XMLTranscoder* trans = XMLPlatformUtils::fgTransService->makeNewTranscoderFor("ISO8859-1", failReason, blockSize);
+ XMLTranscoder* trans = XMLPlatformUtils::fgTransService->makeNewTranscoderFor("ISO8859-1", failReason, blockSize, urlSource.getMemoryManager());
trans->transcodeTo(hostName, transSize, (unsigned char *) hostNameAsASCII, transSize, charsEaten, XMLTranscoder::UnRep_Throw);
transSize = XMLString::stringLen(path)+1;
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org