tng         2002/12/06 08:40:24

  Modified:    c/src/xercesc/util/Platforms/Win32 Win32PlatformUtils.cpp
  Log:
  Fix the error messages thrown from net accessor module.
  
  Revision  Changes    Path
  1.11      +5 -3      
xml-xerces/c/src/xercesc/util/Platforms/Win32/Win32PlatformUtils.cpp
  
  Index: Win32PlatformUtils.cpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/Win32/Win32PlatformUtils.cpp,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Win32PlatformUtils.cpp    4 Nov 2002 15:13:01 -0000       1.10
  +++ Win32PlatformUtils.cpp    6 Dec 2002 16:40:24 -0000       1.11
  @@ -476,8 +476,10 @@
       //  shutting it would prevent any further output.
       //
       HANDLE stdInOrg = ::GetStdHandle(STD_INPUT_HANDLE);
  -    if (stdInOrg == INVALID_HANDLE_VALUE)
  -        ThrowXML(XMLPlatformUtilsException, XMLExcepts::File_CouldNotOpenFile);
  +    if (stdInOrg == INVALID_HANDLE_VALUE) {
  +        XMLCh stdinStr[] = {chLatin_s, chLatin_t, chLatin_d, chLatin_i, chLatin_n, 
chNull};
  +        ThrowXML1(XMLPlatformUtilsException, XMLExcepts::File_CouldNotOpenFile, 
stdinStr);
  +    }
   
       HANDLE retHandle;
       if (!::DuplicateHandle
  
  
  

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

Reply via email to