mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/timw/2730-file-extract-binary-mode'
* origin/topic/timw/2730-file-extract-binary-mode: GH-2730: Use binary mode when opening files in Extract file analyzer
This commit is contained in:
commit
3946f34565
3 changed files with 6 additions and 2 deletions
4
CHANGES
4
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)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
6.0.0-dev.115
|
||||
6.0.0-dev.117
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue