cpython: 8eac75276e5b (original) (raw)

Mercurial > cpython

changeset 85384:8eac75276e5b 2.7

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:00 +0200
parents 2929f7f152f0
children e3eec06aa12e
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 @@ -32,6 +32,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 @@ -1270,7 +1270,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 */