properly initialize deferred list in io_fd (did not help though)

master
leitner 4 years ago
parent ad37bd83de
commit 5f9f1a2a62

@ -80,6 +80,7 @@ static io_entry* io_fd_internal(int64 d,int flags) {
if (e->inuse) return e; if (e->inuse) return e;
byte_zero(e,sizeof(io_entry)); byte_zero(e,sizeof(io_entry));
e->inuse=1; e->inuse=1;
e->next_defer=-1;
#ifdef __MINGW32__ #ifdef __MINGW32__
e->mh=0; e->mh=0;
#else #else

Loading…
Cancel
Save