You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2001/12/14 15:53:22 UTC

cvs commit: xml-xerces/c/src/util/Transcoders/Iconv400 Iconv400TransService.cpp

tng         01/12/14 06:53:22

  Modified:    c/src/util/Transcoders/Iconv400 Iconv400TransService.cpp
  Log:
  iSeries fix: fix error return flags.  By Linda Swan.
  
  Revision  Changes    Path
  1.8       +4 -3      xml-xerces/c/src/util/Transcoders/Iconv400/Iconv400TransService.cpp
  
  Index: Iconv400TransService.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/util/Transcoders/Iconv400/Iconv400TransService.cpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Iconv400TransService.cpp	2001/06/25 16:27:08	1.7
  +++ Iconv400TransService.cpp	2001/12/14 14:53:22	1.8
  @@ -55,7 +55,8 @@
    */
   
   /**
  - * $Id: Iconv400TransService.cpp,v 1.7 2001/06/25 16:27:08 tng Exp $
  + * @01A D998714.1 V5R2M0    100301   Swan    :Fix error return flags
  + * $Id: Iconv400TransService.cpp,v 1.8 2001/12/14 14:53:22 tng Exp $
    */
   
   // ---------------------------------------------------------------------------
  @@ -630,7 +631,7 @@
       );
   
   
  -    if (!err)
  +    if (err)   /*@01A*/
       {
           XMLCh tmpBuf[16];
           XMLString::binToText((unsigned int)*startSrc, tmpBuf, 16, 16);
  @@ -691,7 +692,7 @@
       );
   
    
  -    return err;
  +    return (err==U_ZERO_ERROR);  /*@01A*/
   }
   
   
  
  
  

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