diff --git a/HISTORY b/HISTORY index 73bf214..e31f916 100644 --- a/HISTORY +++ b/HISTORY @@ -1,3 +1,7 @@ + +Version 1.10 2014-11-01 + * correct iovent macro define + Version 1.09 2014-10-26 * Version struct add variable: patch * get local ipaddr support interface based 1 diff --git a/libfastcommon.spec b/libfastcommon.spec index 011732d..5c09c54 100644 --- a/libfastcommon.spec +++ b/libfastcommon.spec @@ -1,5 +1,5 @@ Name: libfastcommon -Version: 1.0.9 +Version: 1.0.10 Release: 1%{?dist} Summary: c common functions library extracted from my open source projects FastDFS License: GPL diff --git a/src/ioevent.h b/src/ioevent.h index 0bc0ed9..8aa79b7 100644 --- a/src/ioevent.h +++ b/src/ioevent.h @@ -26,7 +26,7 @@ #define KPOLLHUP 0x020 #define IOEVENT_READ KPOLLIN #define IOEVENT_WRITE KPOLLOUT -#define IOEVENT_ERROR (KPOLLHUP | KPOLLPRI | KPOLLHUP) +#define IOEVENT_ERROR (KPOLLERR | KPOLLPRI | KPOLLHUP) #ifdef __cplusplus extern "C" {