DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25353>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25353

Transcoders/Iconv: IconvTranscoder allocates memory although it should not

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2004-01-15 16:02 -------
The temporary buffer is needed because the mbstowcs API works on wchar_t, 
while the provided buffer is made of XMLCh. Depending on the platform and on 
the #define used, XMLCh and wchar_t can have different sizes (2 or 4 bytes)

BTW, the allocation/deallocation only occur if you are transcoding more than 
1024 characters, otherwise the stack is used.

Alberto

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to