diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-07-19 04:47:39 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-07-19 04:47:39 (GMT) |
commit | 96e97169ccf5b2cdd4eea267205f96535e037ec6 (patch) | |
tree | b01b8996e38bd3a319fa09ebfb54358860aa64fa /Modules | |
parent | 6fb90905e2c5e42e19484046757fd098df2c6fcf (diff) | |
download | cpython-96e97169ccf5b2cdd4eea267205f96535e037ec6.zip cpython-96e97169ccf5b2cdd4eea267205f96535e037ec6.tar.gz cpython-96e97169ccf5b2cdd4eea267205f96535e037ec6.tar.bz2 |
expose EPOLLRDHUP (closes #27567)
Diffstat (limited to 'Modules')
-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 a6b63d2..fa71d6e 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); |