mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Merge remote-tracking branch 'origin/master' into topic/johanna/remove-serializer
This commit is contained in:
commit
da9bf96242
28 changed files with 991 additions and 39 deletions
|
@ -114,7 +114,7 @@ const char* BroFile::Name() const
|
|||
return name;
|
||||
|
||||
if ( f == stdin )
|
||||
return"/dev/stdin";
|
||||
return "/dev/stdin";
|
||||
|
||||
if ( f == stdout )
|
||||
return "/dev/stdout";
|
||||
|
@ -242,8 +242,6 @@ FILE* BroFile::BringIntoCache()
|
|||
return 0;
|
||||
}
|
||||
|
||||
RaiseOpenEvent();
|
||||
|
||||
if ( fseek(f, position, SEEK_SET) < 0 )
|
||||
{
|
||||
bro_strerror_r(errno, buf, sizeof(buf));
|
||||
|
@ -251,6 +249,7 @@ FILE* BroFile::BringIntoCache()
|
|||
}
|
||||
|
||||
InsertAtBeginning();
|
||||
RaiseOpenEvent();
|
||||
|
||||
return f;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue