[GME-commit] GMESRC/Paradigms/MetaGME/MetaMAid RawComponent.cpp, 1.1, 1.2

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Tue Mar 20 12:16:13 CST 2007


Update of /project/gme-repository/GMESRC/Paradigms/MetaGME/MetaMAid
In directory escher:/tmp/cvs-serv15206

Modified Files:
	RawComponent.cpp 
Log Message:
Tricky syntax error corrected.


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: RawComponent.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/Paradigms/MetaGME/MetaMAid/RawComponent.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RawComponent.cpp	13 Mar 2007 16:53:03 -0000	1.1
--- RawComponent.cpp	20 Mar 2007 18:16:11 -0000	1.2
***************
*** 87,91 ****
  	if( !len) return false;
  
! 	char *buff = new char( len);
  
  	CopyTo( oldpref, len, buff, len);
--- 87,91 ----
  	if( !len) return false;
  
! 	char *buff = new char[ len + 1];
  
  	CopyTo( oldpref, len, buff, len);



More information about the GME-commit mailing list