Changeset 2687 for code/branches/buildsystem3/src/core/ConfigFileManager.cc
- Timestamp:
- Feb 21, 2009, 12:20:23 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3/src/core/ConfigFileManager.cc
r2685 r2687 230 230 // This creates the config file if it's not existing 231 231 std::ofstream createFile; 232 createFile.open(filepath. native_file_string().c_str(), std::fstream::app);232 createFile.open(filepath.file_string().c_str(), std::fstream::app); 233 233 createFile.close(); 234 234 235 235 // Open the file 236 236 std::ifstream file; 237 file.open(filepath. native_file_string().c_str(), std::fstream::in);237 file.open(filepath.file_string().c_str(), std::fstream::in); 238 238 239 239 if (!file.is_open()) … … 345 345 346 346 std::ofstream file; 347 file.open(filepath. native_file_string().c_str(), std::fstream::out);347 file.open(filepath.file_string().c_str(), std::fstream::out); 348 348 file.setf(std::ios::fixed, std::ios::floatfield); 349 349 file.precision(6);
Note: See TracChangeset
for help on using the changeset viewer.