fixed compile problem from epoll_create patch

This commit is contained in:
Rainer Gerhards 2011-03-14 09:24:57 +01:00
parent 4671cad512
commit 91d4e54a67
2 changed files with 4 additions and 2 deletions

View File

@ -3,9 +3,11 @@ Version 5.7.9 [V5-BETA] (rgerhards), 2011-03-??
- improved testbench
among others, life tests for ommysql (against a test database) have
been added, valgrind-based testing enhanced, ...
- enhance: fallback *at runtime* to epoll_create if epoll_create1 is not
available. Thanks to Michael Biebl for analysis and patch!
- bugfix: minor memory leak in omlibdbi (< 1k per instance and run)
- bugfix: (regression) omhdfs did no longer compile
- bugfix: omlibdbi did not use password from rsyslog.con
- bugfix: omlibdbi did not use password from rsyslog.conf
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=203
---------------------------------------------------------------------------
Version 5.7.8 [V5-BETA] (rgerhards), 2011-03-09

View File

@ -1050,7 +1050,7 @@ CODESTARTwillRun
#if defined(EPOLL_CLOEXEC) && defined(HAVE_EPOLL_CREATE1)
DBGPRINTF("imptcp uses epoll_create1()\n");
epollfd = epoll_create1(EPOLL_CLOEXEC);
if(epollfd < 0 && errno ENOSYS)
if(epollfd < 0 && errno == ENOSYS)
#endif
{
DBGPRINTF("imptcp uses epoll_create()\n");