atif4461 / PR_DNS_base

0 stars 0 forks source link

fopens to be closed #1

Open atif4461 opened 1 year ago

atif4461 commented 1 year ago

./solver/solver.cpp:348: FILE *infile = fopen(in_name,"r");^M

./climate/clminit.cpp:42: FILE infile = fopen(inname,"r"); ./climate/clminit.cpp:443: FILE infile = fopen(inname,"r"); ./climate/clminit.cpp:469: infile = fopen(fname,"r"); ./climate/clminit.cpp:514: FILE *infile = fopen(inname,"r");

./src/front/fsub.c:1809: ifile = fopen(in_name,"r"); ./src/util/debug.c:256: remember = fopen(REMEMBER_FILENAME,"w"); ./src/front/finit.c:1699: rfile = fopen(ft_basic->restart_name,"r"); ./src/front/fprint.c:1232: intfc_file = fopen(fname,"w"); ./src/front/fprint.c:1236: curve_file = fopen(fname,"w"); ./src/front/fprint.c:1276: vfiles[i] = fopen(fname,"w"); ./src/front/fprint.c:1287: sfiles[i] = fopen(fname,"w"); ./src/front/fprint.c:1298: cfiles = fopen(fname,"w"); ./src/front/fscatter.c:1056: debug_file = fopen(debug_name,"r"); ./src/front/fmap.c:3216: infile = fopen(in_name,"r"); ./src/intfc/iprt3d.c:261: if( (plotfile = fopen(name,"w")) == NULL ) ./src/intfc/imksurf.c:4711: FILE vtk_file = fopen(vtk_name,"r"); ./src/intfc/igview.c:5036: PLOT_DATA.gifout = fopen(gname,"wb"); ./src/intfc/igview.c:5135: sdl_file = fopen(file_name,"w"); ./src/intfc/igview.c:3835: if((file = fopen(fname, "wb")) == NULL) ./src/intfc/igview.c:3889: if ((file = fopen(fname,"w")) == NULL) ./src/intfc/igview.c:4032: if ((file = fopen(fname,"wb")) == NULL) ./src/intfc/igview.c:4257: if ((file = fopen(fname,"wb")) == NULL) ./src/intfc/ixgraph.c:296: xgraph = fopen(path,"w"); ./src/intfc/ixgraph.c:425: xgraph = fopen(path,"w"); ./src/intfc/ixgraph.c:482: xgraph = fopen(path,"w"); ./src/intfc/iMesh.c:204: FILE ifile = fopen(name,"r"); ./src/intfc/iMesh.c:221: FILE *ofile = fopen(name,"w"); ./src/util/debug.c:246: remember = fopen(REMEMBER_FILENAME,"w"); ./src/util/debug.c:247: if ((debug_input = fopen(filename,"r")) == NULL) ./src/util/debug.c:252: remember = fopen(REMEMBER_FILENAME,"w");

./iFluid/iFinit.cpp:725: FILE infile = fopen(inname,"r"); ./iFluid/iFsub.cpp:1009: FILE infile = fopen(inname,"r"); ./iFluid/iFsub.cpp:1291: eout_file = fopen(file_name,"w");