neilg 2003/08/19 07:01:42
Modified: c/src/xercesc/util/Transcoders/IconvGNU
IconvGNUTransService.cpp
Log:
fix for bug 22537
Revision Changes Path
1.10 +5 -2
xml-xerces/c/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp
Index: IconvGNUTransService.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- IconvGNUTransService.cpp 17 May 2003 16:32:18 -0000 1.9
+++ IconvGNUTransService.cpp 19 Aug 2003 14:01:41 -0000 1.10
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.10 2003/08/19 14:01:41 neilg
+ * fix for bug 22537
+ *
* Revision 1.9 2003/05/17 16:32:18 knoaman
* Memory manager implementation : transcoder update.
*
@@ -1051,7 +1054,7 @@
if (*toTranscode) {
const unsigned int wLent = calcRequiredSize(toTranscode);
if (wLent == 0) {
- retVal = (XMLCh*) manager->allocate(sizeof(XMLCh));/new XMLCh[1];
+ retVal = (XMLCh*) manager->allocate(sizeof(XMLCh));//new XMLCh[1];
retVal[0] = 0;
return retVal;
}
@@ -1186,7 +1189,7 @@
, iconv_t cd_to
, size_t uchsize
, unsigned int ubo
- , MemoryManger* const manager
+ , MemoryManager* const manager
)
: XMLTranscoder(encodingName, blockSize, manager)
, IconvGNUWrapper (cd_from, cd_to, uchsize, ubo)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]