Skip to content

Commit 10d7a51

Browse files
FIX: specify binary openmode on symtab2gb output (should fix windows bug)
1 parent dc8b83c commit 10d7a51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/symtab2gb/symtab2gb_parse_options.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static void run_symtab2gb(
4242
{
4343
// try opening all the files first to make sure we can
4444
// even read/write what we want
45-
std::ofstream out_file{gb_filename};
45+
std::ofstream out_file{gb_filename, std::ios::binary};
4646
if(!out_file.is_open())
4747
{
4848
throw system_exceptiont{"couldn't open output file `" + gb_filename + "'"};

0 commit comments

Comments
 (0)