mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Fixing compile problems with some versions of libc++.
Reported by Craig Leres.
This commit is contained in:
parent
62527f6430
commit
69ef268a44
5 changed files with 9 additions and 4 deletions
5
CHANGES
5
CHANGES
|
@ -1,4 +1,9 @@
|
||||||
|
|
||||||
|
2.2-93 | 2014-01-13 09:16:51 -0800
|
||||||
|
|
||||||
|
* Fixing compile problems with some versions of libc++. Reported by
|
||||||
|
Craig Leres. (Robin Sommer)
|
||||||
|
|
||||||
2.2-91 | 2014-01-13 01:33:28 -0800
|
2.2-91 | 2014-01-13 01:33:28 -0800
|
||||||
|
|
||||||
* Improve GeoIP City database support. When trying to open a city
|
* Improve GeoIP City database support. When trying to open a city
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
2.2-91
|
2.2-93
|
||||||
|
|
|
@ -365,7 +365,7 @@ bool Raw::DoInit(const ReaderInfo& info, int num_fields, const Field* const* fie
|
||||||
fname = source.substr(0, fname.length() - 1);
|
fname = source.substr(0, fname.length() - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
map<const char*, const char*>::const_iterator it = info.config.find("stdin"); // data that is sent to the child process
|
ReaderInfo::config_map::const_iterator it = info.config.find("stdin"); // data that is sent to the child process
|
||||||
if ( it != info.config.end() )
|
if ( it != info.config.end() )
|
||||||
{
|
{
|
||||||
stdin_string = it->second;
|
stdin_string = it->second;
|
||||||
|
|
|
@ -85,7 +85,7 @@ bool SQLite::DoInit(const ReaderInfo& info, int arg_num_fields, const threading:
|
||||||
fullpath.append(".sqlite");
|
fullpath.append(".sqlite");
|
||||||
|
|
||||||
string query;
|
string query;
|
||||||
map<const char*, const char*>::const_iterator it = info.config.find("query");
|
ReaderInfo::config_map::const_iterator it = info.config.find("query");
|
||||||
if ( it == info.config.end() )
|
if ( it == info.config.end() )
|
||||||
{
|
{
|
||||||
Error(Fmt("No query specified when setting up SQLite data source. Aborting.", info.source));
|
Error(Fmt("No query specified when setting up SQLite data source. Aborting.", info.source));
|
||||||
|
|
|
@ -126,7 +126,7 @@ bool SQLite::DoInit(const WriterInfo& info, int arg_num_fields,
|
||||||
fullpath.append(".sqlite");
|
fullpath.append(".sqlite");
|
||||||
string tablename;
|
string tablename;
|
||||||
|
|
||||||
map<const char*, const char*>::const_iterator it = info.config.find("tablename");
|
WriterInfo::config_map::const_iterator it = info.config.find("tablename");
|
||||||
if ( it == info.config.end() )
|
if ( it == info.config.end() )
|
||||||
{
|
{
|
||||||
MsgThread::Info(Fmt("tablename configuration option not found. Defaulting to path %s", info.path));
|
MsgThread::Info(Fmt("tablename configuration option not found. Defaulting to path %s", info.path));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue