diff options
author | root <root> | 2009-06-12 00:43:16 +0000 |
---|---|---|
committer | root <root> | 2009-06-12 00:43:16 +0000 |
commit | f43b3a07245c5e1466f7f810f010298f7fa2dbe9 (patch) | |
tree | e3077dfa65cea4c3c8d29695807ef6f8f6bd5f06 /eio.c | |
parent | e4d53612e13dc9aae6ac549059f3ffc98c866f34 (diff) |
*** empty log message ***
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) |