- Timestamp:
- 04/20/14 01:48:23 (11 years ago)
- Location:
- cpp/frams/virtfile
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/virtfile/stdiofile.cpp
r206 r227 35 35 void StdioFILE::setStdio() 36 36 { 37 #ifndef NO_STD_IN_OUT_ERR 37 38 static StdioFILEDontClose si(stdin); 38 39 static StdioFILEDontClose so(stdout); … … 41 42 setVstdout(&so); 42 43 setVstderr(&se); 44 #endif 43 45 } 44 46 -
cpp/frams/virtfile/stdiofile.h
r206 r227 43 43 const char* VgetPath() {return path;} 44 44 45 ~StdioFILE() {if (file) fclose(file);}45 ~StdioFILE() {if (file) mfclose(file);} 46 46 }; 47 47 #else
Note: See TracChangeset
for help on using the changeset viewer.