You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2002/03/12 06:37:57 UTC

cvs commit: xml-xalan/c/src/PlatformSupport XalanFileOutputStream.cpp

dbertoni    02/03/11 21:37:57

  Modified:    c/src/PlatformSupport XalanFileOutputStream.cpp
  Log:
  Fix for bug 3825.
  
  Revision  Changes    Path
  1.8       +2 -1      xml-xalan/c/src/PlatformSupport/XalanFileOutputStream.cpp
  
  Index: XalanFileOutputStream.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XalanFileOutputStream.cpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- XalanFileOutputStream.cpp	30 Nov 2001 22:25:45 -0000	1.7
  +++ XalanFileOutputStream.cpp	12 Mar 2002 05:37:57 -0000	1.8
  @@ -70,6 +70,7 @@
   #endif
   
   
  +
   #include <Include/XalanAutoPtr.hpp>
   
   
  @@ -93,7 +94,7 @@
   			FILE_ATTRIBUTE_NORMAL,
   			0);
   
  -	if (theFileHandle != INVALID_HANDLE_VALUE)
  +	if (theFileHandle != INVALID_HANDLE_VALUE && theFileHandle != 0)
   	{
   		return theFileHandle;
   	}
  
  
  

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