diff options
-rw-r--r-- | src/estream.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/estream.c b/src/estream.c index 66ebc4b..035d30d 100644 --- a/src/estream.c +++ b/src/estream.c @@ -5533,6 +5533,11 @@ _gpgrt_poll (gpgrt_poll_t *fds, unsigned int nfds, int timeout) item->got_hup = 1; any = 1; } + if ((poll_fds[poll_nfds].revents & POLLNVAL)) + { + item->got_nval = 1; + any = 1; + } if (item->want_read && (poll_fds[poll_nfds].revents & (POLLIN|POLLHUP))) { item->got_read = 1; |