1 parent 5d81641 commit bd33aa3Copy full SHA for bd33aa3
1 file changed
unix/moduselect.c
@@ -65,7 +65,9 @@ STATIC mp_obj_t poll_register(uint n_args, const mp_obj_t *args) {
65
}
66
67
if (entries->fd != -1) {
68
- assert(0);
+ i = self->len++;
69
+ self->entries = m_renew(struct pollfd, self->entries, self->alloc, self->alloc + 4);
70
+ self->alloc += 4;
71
72
73
0 commit comments