We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a20db8e commit 06ee199Copy full SHA for 06ee199
src/lua/luadumper.cpp
@@ -67,10 +67,10 @@ void glt::lua::IoThread() {
67
continue;
68
}
69
70
- auto of = std::ofstream(path, glt::config::GetConfig().stealer_write_mode);
71
- of << "-- " << sanitized_filename << "\n";
72
- of << "-- Retrieved by https://github.com/lewisclark/glua-steal\n";
73
- of << entry.code << "\n\n";
+ auto of = std::ofstream(path, glt::config::GetConfig().stealer_write_mode | std::ofstream::binary);
+ of << "-- " << sanitized_filename << std::endl;
+ of << "-- Retrieved by https://github.com/lewisclark/glua-steal" << std::endl;
+ of << entry.code;
74
75
76
shared_entries.clear();
0 commit comments