mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Updating tests for the #start/#end change.
This commit is contained in:
parent
87e10b5f97
commit
5cfb8d65c3
123 changed files with 442 additions and 162 deletions
|
@ -93,9 +93,11 @@ const char* BasicThread::Fmt(const char* format, ...)
|
|||
|
||||
const char* BasicThread::Strerror(int err)
|
||||
{
|
||||
static char buf[128] = "<not set>";
|
||||
strerror_r(err, buf, sizeof(buf));
|
||||
return buf;
|
||||
if ( ! strerr_buffer )
|
||||
strerr_buffer = new char[256];
|
||||
|
||||
strerror_r(err, strerr_buffer, 256);
|
||||
return strerr_buffer;
|
||||
}
|
||||
|
||||
void BasicThread::Start()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue