peiyongz 2004/03/05 14:19:32 Modified: c/src/xercesc/internal BinMemOutputStream.cpp Log: getSize() to return fCapacity to differentiate it from curPos() Revision Changes Path 1.4 +5 -3 xml-xerces/c/src/xercesc/internal/BinMemOutputStream.cpp Index: BinMemOutputStream.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/internal/BinMemOutputStream.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- BinMemOutputStream.cpp 16 Feb 2004 04:02:34 -0000 1.3 +++ BinMemOutputStream.cpp 5 Mar 2004 22:19:32 -0000 1.4 @@ -57,6 +57,9 @@ /* * $Id$ * $Log$ + * Revision 1.4 2004/03/05 22:19:32 peiyongz + * getSize() to return fCapacity to differentiate it from curPos() + * * Revision 1.3 2004/02/16 04:02:34 neilg * fix for bug 26936 * @@ -122,7 +125,6 @@ void BinMemOutputStream::reset() { fIndex = 0; - for (int i = 0; i < 4; i++) { fDataBuf[fIndex + i] = 0; @@ -136,7 +138,7 @@ unsigned int BinMemOutputStream::getSize() const { - return fIndex; + return fCapacity; } // ---------------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]