Commit in lcio/src/cpp/src/SIO on MAIN | |||
SIOWriter.cc | +1 | -1 | 1.37 -> 1.38 |
bug fix: replaced fclose with FCLOSE
diff -u -r1.37 -r1.38 --- SIOWriter.cc 27 Oct 2009 16:01:17 -0000 1.37 +++ SIOWriter.cc 18 Nov 2009 09:16:44 -0000 1.38 @@ -92,7 +92,7 @@
FILE* f = FOPEN( sioFilename.c_str() , "r") ; if( f != 0 ){
- fclose(f) ;
+ FCLOSE(f) ;
throw IOException( std::string( "[SIOWriter::open()] File already exists: " + sioFilename + " \n open it in append or new mode !\n"