Changeset 2687 for code/branches/buildsystem3/src/core/Language.cc
- Timestamp:
- Feb 21, 2009, 12:20:23 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3/src/core/Language.cc
r2685 r2687 211 211 // This creates the file if it's not existing 212 212 std::ofstream createFile; 213 createFile.open(filepath. native_file_string().c_str(), std::fstream::app);213 createFile.open(filepath.file_string().c_str(), std::fstream::app); 214 214 createFile.close(); 215 215 216 216 // Open the file 217 217 std::ifstream file; 218 file.open(filepath. native_file_string().c_str(), std::fstream::in);218 file.open(filepath.file_string().c_str(), std::fstream::in); 219 219 220 220 if (!file.is_open()) … … 263 263 // Open the file 264 264 std::ifstream file; 265 file.open(filepath. native_file_string().c_str(), std::fstream::in);265 file.open(filepath.file_string().c_str(), std::fstream::in); 266 266 267 267 if (!file.is_open()) … … 320 320 // Open the file 321 321 std::ofstream file; 322 file.open(filepath. native_file_string().c_str(), std::fstream::out);322 file.open(filepath.file_string().c_str(), std::fstream::out); 323 323 324 324 if (!file.is_open())
Note: See TracChangeset
for help on using the changeset viewer.