Changeset 375 for cpp/frams/virtfile
- Timestamp:
- 04/26/15 00:59:09 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/virtfile/stdiofile.cpp
r374 r375 6 6 #include <common/nonstd_dir.h> 7 7 #include <common/nonstd_stdio.h> 8 #include <common/ hmessage.h>8 #include <common/log.h> 9 9 #include <common/Convert.h> 10 10 11 11 VirtFILE* StdioFileSystem::Vfopen(const char *path, const char *mode) 12 12 { 13 // printH("Vfopen %s %s",path,mode);13 //log_printf("Vfopen %s %s",path,mode); 14 14 #if defined USE_MFILE || defined _WIN32 15 15 MFILE *f = mfopen(path, mode); … … 17 17 FILE *f = fopen(path, mode); 18 18 #endif 19 // printH("%p",f);19 //log_printf("%p",f); 20 20 if (f) return new StdioFILE(f, path); else return NULL; 21 21 } … … 23 23 VirtDIR* StdioFileSystem::Vopendir(const char* path) 24 24 { 25 // printH("Vopendir %s",path);25 //log_printf("Vopendir %s",path); 26 26 #ifdef _WIN32 27 27 DIRTYPE *d = wopendir(Convert::utf8ToUtf16(path).c_str()); … … 29 29 DIR *d = opendir(path); 30 30 #endif 31 // printH("%p",d);31 //log_printf("%p",d); 32 32 if (d) return new StdioDIR(d); else return NULL; 33 33 } … … 52 52 dirent* StdioDIR::Vreaddir() 53 53 { 54 // printH("Vreaddir %s",dir);54 //log_printf("Vreaddir %s",dir); 55 55 #ifdef _WIN32 56 56 wdirent *wde=wreaddir(dir);
Note: See TracChangeset
for help on using the changeset viewer.