[mapguide-commits] r1232 - trunk/MgDev/Common/Foundation/System

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Mar 14 20:20:00 EDT 2007


Author: waltweltonlair
Date: 2007-03-14 20:19:59 -0400 (Wed, 14 Mar 2007)
New Revision: 1232

Modified:
   trunk/MgDev/Common/Foundation/System/ByteSourceFileImpl.cpp
Log:
Initialize the file handle to the correct value.  Also gets rid of a
Linux compiler warning.


Modified: trunk/MgDev/Common/Foundation/System/ByteSourceFileImpl.cpp
===================================================================
--- trunk/MgDev/Common/Foundation/System/ByteSourceFileImpl.cpp	2007-03-14 22:40:40 UTC (rev 1231)
+++ trunk/MgDev/Common/Foundation/System/ByteSourceFileImpl.cpp	2007-03-15 00:19:59 UTC (rev 1232)
@@ -24,7 +24,7 @@
 ///<param name="filename">Name of the file</param>
 ///
 ByteSourceFileImpl::ByteSourceFileImpl(CREFSTRING filename, bool temporary) :
-    m_file(NULL),
+    m_file(ACE_INVALID_HANDLE),
     m_size(0),
     m_temporary(temporary)
 {



More information about the mapguide-commits mailing list