diff options
| author | Benjamin Peterson <benjamin@python.org> | 2016-07-18 21:47:39 -0700 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2016-07-18 21:47:39 -0700 |
| commit | 96e97169ccf5b2cdd4eea267205f96535e037ec6 (patch) | |
| tree | b01b8996e38bd3a319fa09ebfb54358860aa64fa /Modules/selectmodule.c | |
| parent | 6fb90905e2c5e42e19484046757fd098df2c6fcf (diff) | |
| download | cpython-git-96e97169ccf5b2cdd4eea267205f96535e037ec6.tar.gz | |
expose EPOLLRDHUP (closes #27567)
Diffstat (limited to 'Modules/selectmodule.c')
| -rw-r--r-- | Modules/selectmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index a6b63d22e5..fa71d6e7f4 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -2473,12 +2473,12 @@ PyInit_select(void) PyModule_AddIntMacro(m, EPOLLPRI); PyModule_AddIntMacro(m, EPOLLERR); PyModule_AddIntMacro(m, EPOLLHUP); + PyModule_AddIntMacro(m, EPOLLRDHUP); PyModule_AddIntMacro(m, EPOLLET); #ifdef EPOLLONESHOT /* Kernel 2.6.2+ */ PyModule_AddIntMacro(m, EPOLLONESHOT); #endif - /* PyModule_AddIntConstant(m, "EPOLL_RDHUP", EPOLLRDHUP); */ #ifdef EPOLLRDNORM PyModule_AddIntMacro(m, EPOLLRDNORM); |
