diff options
Diffstat (limited to 'eio.c')
-rw-r--r-- | eio.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1213,9 +1213,13 @@ eio__scandir (eio_req *req, etp_worker *self) namesoffs += len; ++dentoffs; } + + if (EIO_CANCELLED (req)) + { + errno = ECANCELED; + break; + } } - else - req->result = -1; } #if !(_POSIX_MAPPED_FILES && _POSIX_SYNCHRONIZED_IO) |