You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ro...@locus.apache.org on 2000/01/26 00:14:20 UTC

cvs commit: xml-xerces/c/src/util/Transcoders/Win32 Win32TransService.cpp

roddey      00/01/25 15:14:19

  Modified:    c/src/util/Transcoders/Win32 Win32TransService.cpp
  Log:
  Borland does not support wcsupr(), but does support _wcsupr(). Since VC++ does also,
  _wcsupr() was used in order to have the both work with the same transcoding code.
  
  Revision  Changes    Path
  1.7       +5 -1      xml-xerces/c/src/util/Transcoders/Win32/Win32TransService.cpp
  
  Index: Win32TransService.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/util/Transcoders/Win32/Win32TransService.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Win32TransService.cpp	2000/01/25 22:49:58	1.6
  +++ Win32TransService.cpp	2000/01/25 23:14:19	1.7
  @@ -56,6 +56,10 @@
   
   /**
    * $Log: Win32TransService.cpp,v $
  + * Revision 1.7  2000/01/25 23:14:19  roddey
  + * Borland does not support wcsupr(), but does support _wcsupr(). Since VC++ does also,
  + * _wcsupr() was used in order to have the both work with the same transcoding code.
  + *
    * Revision 1.6  2000/01/25 22:49:58  roddey
    * Moved the supportsSrcOfs() method from the individual transcoder to the
    * transcoding service, where it should have been to begin with.
  @@ -161,7 +165,7 @@
   
   void Win32TransService::upperCase(XMLCh* const toUpperCase) const
   {
  -    wcsupr(toUpperCase);
  +    _wcsupr(toUpperCase);
   }