You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ga...@apache.org on 2003/05/30 11:19:24 UTC
cvs commit: xml-xerces/c/src/xercesc/util/Transcoders/ICU ICUTransService.cpp
gareth 2003/05/30 02:19:24
Modified: c/src/xercesc/util/Transcoders/ICU ICUTransService.cpp
Log:
fix to bug #20350. Fix 2 typos. Patch by Sean McInerney.
Revision Changes Path
1.10 +3 -3 xml-xerces/c/src/xercesc/util/Transcoders/ICU/ICUTransService.cpp
Index: ICUTransService.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Transcoders/ICU/ICUTransService.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ICUTransService.cpp 17 May 2003 16:32:17 -0000 1.9
+++ ICUTransService.cpp 30 May 2003 09:19:24 -0000 1.10
@@ -127,11 +127,11 @@
static XMLCh* convertToXMLCh( const UChar* const toConvert,
- , MemoryManager* const manager = 0)
+ MemoryManager* const manager = 0)
{
const unsigned int srcLen = u_strlen(toConvert);
XMLCh* retBuf = (manager)
- ? (XMLCh*) manager->allocate((srcLen+1) sizeof(XMLCh))
+ ? (XMLCh*) manager->allocate((srcLen+1) * sizeof(XMLCh))
: new XMLCh[srcLen + 1];
XMLCh* outPtr = retBuf;
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org