[GME-commit] GMESRC/GME/Console ConsoleCtl.cpp,1.9,1.10
Log messages of CVS commits
gme-commit at list.isis.vanderbilt.edu
Tue May 13 12:54:42 CDT 2008
Update of /project/gme-repository/GMESRC/GME/Console
In directory escher:/tmp/cvs-serv561
Modified Files:
ConsoleCtl.cpp
Log Message:
ReleaseBuffer must be called on both branches.
CVS User: Zoltan Molnar, ISIS (zolmol)
Index: ConsoleCtl.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Console/ConsoleCtl.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** ConsoleCtl.cpp 7 May 2008 20:50:16 -0000 1.9
--- ConsoleCtl.cpp 13 May 2008 17:54:40 -0000 1.10
***************
*** 641,645 ****
sizeof_file = _file.Read( script_buf.GetBufferSetLength( sizeof_file), sizeof_file);
// sizeof_file was modified above because of newline handling
! if( sizeof_file > 0) script_buf.ReleaseBufferSetLength( sizeof_file);
_file.Close();
--- 641,646 ----
sizeof_file = _file.Read( script_buf.GetBufferSetLength( sizeof_file), sizeof_file);
// sizeof_file was modified above because of newline handling
! if( sizeof_file > 0) script_buf.ReleaseBufferSetLength( sizeof_file);
! else script_buf.ReleaseBuffer(0);
_file.Close();
More information about the GME-commit
mailing list