tng         2003/03/07 06:42:45

  Modified:    c/src/xercesc/util/Transcoders/IconvFBSD
                        IconvFBSDTransService.cpp
  Log:
  [Bug 17570] IconvFBSD build on alpha,sparc.  Patch from Bjoern A. Zeeb.
  
  Revision  Changes    Path
  1.9       +5 -1      
xml-xerces/c/src/xercesc/util/Transcoders/IconvFBSD/IconvFBSDTransService.cpp
  
  Index: IconvFBSDTransService.cpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/c/src/xercesc/util/Transcoders/IconvFBSD/IconvFBSDTransService.cpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- IconvFBSDTransService.cpp 25 Feb 2003 08:15:42 -0000      1.8
  +++ IconvFBSDTransService.cpp 7 Mar 2003 14:42:45 -0000       1.9
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.9  2003/03/07 14:42:45  tng
  + * [Bug 17570] IconvFBSD build on alpha,sparc.  Patch from Bjoern A. Zeeb.
  + *
    * Revision 1.8  2003/02/25 08:15:42  gareth
    * Patch to fix compile problem in bug #17358. Patch by Michael Cahill.
    *
  @@ -1102,7 +1105,8 @@
           // perform conversion
           wLent *= uChSize();
           char    *ptr = retVal;
  -        size_t    rc = iconvTo(wideCharBuf, &wLent, &ptr, neededLen);
  +        size_t  tmpwLent = wLent;
  +        size_t  rc = iconvTo(wideCharBuf, &tmpwLent, &ptr, neededLen);
           if (rc == (size_t)-1) {
               if (wBufPtr)
               delete [] wBufPtr;
  
  
  

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

Reply via email to