diff --git a/CHANGES b/CHANGES index 38a8272715..3c9ba659f4 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +6.0.0-dev.117 | 2023-02-23 08:27:12 -0700 + + * GH-2730: Use binary mode when opening files in Extract file analyzer (Tim Wojtulewicz) + 6.0.0-dev.115 | 2023-02-23 07:40:22 -0700 * Include stdint.h early in flex files to prevent redefinition of int type macros (Tim Wojtulewicz) diff --git a/VERSION b/VERSION index cd6197a209..8ef411fd38 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -6.0.0-dev.115 +6.0.0-dev.117 diff --git a/src/file_analysis/analyzer/extract/Extract.cc b/src/file_analysis/analyzer/extract/Extract.cc index c388360e0e..77a696daf3 100644 --- a/src/file_analysis/analyzer/extract/Extract.cc +++ b/src/file_analysis/analyzer/extract/Extract.cc @@ -18,7 +18,7 @@ Extract::Extract(RecordValPtr args, file_analysis::File* file, const std::string filename(arg_filename), limit(arg_limit), depth(0) { char buf[128]; - file_stream = fopen(filename.data(), "w"); + file_stream = fopen(filename.data(), "wb"); if ( file_stream ) {