Changeset 17375
- Timestamp:
- 11/25/13 19:50:31 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Main.h
r17362 r17375 112 112 if (access(prgpath.empty() ? "." : prgpath.c_str(), W_OK)) 113 113 { 114 path = conf.Get<string>("home"); 115 path /= ".fact++"; 114 path = "."; 115 116 if (conf.Has("home")) 117 { 118 path = conf.Get<string>("home"); 119 path /= ".fact++"; 120 } 116 121 } 117 122 } … … 149 154 #endif 150 155 if (!wout.OpenLogFile((path/file).string(), conf.Get<bool>("append-log"))) 151 win << kYellow << "WARNING - Couldn't open log-file " << path.string() << ": " << strerror(errno) << endl;156 win << kYellow << "WARNING - Couldn't open log-file " << (path/file).string() << ": " << strerror(errno) << endl; 152 157 } 153 158
Note:
See TracChangeset
for help on using the changeset viewer.