From: Marcelo M. <mar...@us...> - 2005-03-11 08:42:25
|
Update of /cvsroot/swig/SWIG/Source/Modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9997/Source/Modules Modified Files: main.cxx Log Message: fix seg fault when using bad runtime file, such as a dir Index: main.cxx =================================================================== RCS file: /cvsroot/swig/SWIG/Source/Modules/main.cxx,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** main.cxx 28 Feb 2005 23:59:12 -0000 1.52 --- main.cxx 11 Mar 2005 08:42:16 -0000 1.53 *************** *** 290,294 **** if (!runtime) { Printf(stderr, "*** Unable to open '%s'\n", outfile); - Close(runtime); SWIG_exit(EXIT_FAILURE); } --- 290,293 ---- |