Diff for /parser3/src/main/pa_charset.C between versions 1.20 and 1.22

version 1.20, 2002/02/08 08:32:34 version 1.22, 2002/03/18 08:16:15
Line 448  void Charset::transcodeToUTF8(Pool& pool Line 448  void Charset::transcodeToUTF8(Pool& pool
         // return          // return
         adest_body=dest_body;          adest_body=dest_body;
 }  }
 /// @test buf overflow  
 void Charset::transcodeFromUTF8(Pool& pool,  void Charset::transcodeFromUTF8(Pool& pool,
                                                                    const void *source_body, size_t source_content_length,                                                                     const void *source_body, size_t source_content_length,
                                                                    const void *& adest_body, size_t& dest_content_length) const {                                                                     const void *& adest_body, size_t& dest_content_length) const {
Line 505  static int         xml256CharEncodingInp Line 504  static int         xml256CharEncodingInp
                                                                                                         int *inlen,                                                                                                           int *inlen, 
                                                                                                         void *info) {                                                                                                          void *info) {
         return transcodeToUTF8(          return transcodeToUTF8(
                                                         in, *(unsigned int*)inlen,                                                          in, *(size_t*)inlen,
                                                         out, *(unsigned int*)outlen,                                                          out, *(size_t*)outlen,
                                                         *(const Charset::Tables *)info);                                                          *(const Charset::Tables *)info);
 }  }
   
Line 517  static int         xml256CharEncodingOut Line 516  static int         xml256CharEncodingOut
                                                                                                         int *inlen,                                                                                                           int *inlen, 
                                                                                                         void *info) {                                                                                                          void *info) {
         return transcodeFromUTF8(          return transcodeFromUTF8(
                                                         in, *(unsigned int*)inlen,                                                          in, *(size_t*)inlen,
                                                         out, *(unsigned int*)outlen,                                                          out, *(size_t*)outlen,
                                                         *(const Charset::Tables *)info);                                                          *(const Charset::Tables *)info);
 }  }
   

Removed from v.1.20  
changed lines
  Added in v.1.22


E-mail: