src/library/ini/SimpleIni.h | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/tools/license-generator/license-generator.cpp | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/library/ini/SimpleIni.h
@@ -2488,6 +2488,9 @@ bNeedNewLine = true; } // Append new empty line a_oOutput.Write(SI_NEWLINE_A); return SI_OK; } src/tools/license-generator/license-generator.cpp
@@ -174,7 +174,7 @@ if (vm.count("output")) { const std::string fname = vm["output"].as<string>(); fstream ofstream(fname, std::ios::out | std::ios::trunc); fstream ofstream(fname, std::ios::out | std::ios::app); if (!ofstream.is_open()) { cerr << "can't open file [" << fname << "] for output." << endl << " error: " << strerror( errno);