amassari    2004/12/29 14:00:56

  Modified:    c/src/xercesc/util/Transcoders/ICU ICUTransService.cpp
  Log:
  Let ucnv_toUChars terminate the converted string by telling him the right 
buffer size
  
  Revision  Changes    Path
  1.18      +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.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- ICUTransService.cpp       29 Dec 2004 21:50:35 -0000      1.17
  +++ ICUTransService.cpp       29 Dec 2004 22:00:56 -0000      1.18
  @@ -1089,7 +1089,7 @@
           (
               fConverter
               , targetBuf
  -            , targetCap
  +            , targetCap + 1
               , toTranscode
               , srcLen
               , &err
  @@ -1178,7 +1178,7 @@
           (
               fConverter
               , targetBuf
  -            , targetCap
  +            , targetCap + 1
               , toTranscode
               , srcLen
               , &err
  
  
  

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

Reply via email to