You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sh...@apache.org on 2011/10/11 21:18:17 UTC

svn commit: r1182041 - /xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp

Author: shathaway
Date: Tue Oct 11 19:18:17 2011
New Revision: 1182041

URL: http://svn.apache.org/viewvc?rev=1182041&view=rev
Log:
JIRA XALANC-716 incorrect buffer-size calculation in XalanUTF16Writer.hpp

Modified:
    xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp

Modified: xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp
URL: http://svn.apache.org/viewvc/xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp?rev=1182041&r1=1182040&r2=1182041&view=diff
==============================================================================
--- xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp (original)
+++ xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp Tue Oct 11 19:18:17 2011
@@ -116,7 +116,7 @@ public:
             const value_type*   theChars,
             size_type           theLength)
     {
-        if (theLength > sizeof(m_buffer))
+        if (theLength > kBufferSize)
         {
             flushBuffer();
     



---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org