cpython: 8345fb616cbd (original) (raw)

Mercurial > cpython

changeset 85383:8345fb616cbd

Issue #11973: Fix a problem in kevent. The flags and fflags fields are now properly handled as unsigned. [#11973]

Christian Heimes christian@cheimes.de
date Sun, 25 Aug 2013 14:57:38 +0200
parents 7b1da249ab6d(current diff)d5334d8907dc(diff)
children f81846c2b746
files Misc/NEWS Modules/selectmodule.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-)[+] [-] Misc/NEWS 3 Modules/selectmodule.c 2

line wrap: on

line diff

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -40,6 +40,9 @@ Core and Builtins Library ------- +- Issue #11973: Fix a problem in kevent. The flags and fflags fields are now

--- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -1733,7 +1733,7 @@ kqueue_event_init(kqueue_event_Object *s PyObject *pfd; static char *kwlist[] = {"ident", "filter", "flags", "fflags", "data", "udata", NULL};

EV_SET(&(self->e), 0, EVFILT_READ, EV_ADD, 0, 0, 0); /* defaults */