amassari    2004/07/23 08:29:09

  Modified:    c/src/xercesc/util/Transcoders/IconvGNU
                        IconvGNUTransService.cpp
  Log:
  transcode was badly terminating the converted string (jira#1206)
  
  Revision  Changes    Path
  1.14      +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.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- IconvGNUTransService.cpp  23 Jul 2004 14:35:03 -0000      1.13
  +++ IconvGNUTransService.cpp  23 Jul 2004 15:29:09 -0000      1.14
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.14  2004/07/23 15:29:09  amassari
  + * transcode was badly terminating the converted string (jira#1206)
  + *
    * Revision 1.13  2004/07/23 14:35:03  amassari
    * A global mutex was not cleaned up
    *
  @@ -1002,8 +1005,8 @@
       if (wBufPtr)
           manager->deallocate(wBufPtr);//delete [] wBufPtr;
   
  -    // Cap it off just in case
  -    toFill[rc] = 0;
  +    // Cap it off
  +    *ptr = 0;
       return true;
   }
   
  
  
  

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

Reply via email to