summaryrefslogtreecommitdiff
path: root/eio.c
diff options
context:
space:
mode:
authorroot <root>2009-06-12 00:43:16 +0000
committerroot <root>2009-06-12 00:43:16 +0000
commitf43b3a07245c5e1466f7f810f010298f7fa2dbe9 (patch)
treee3077dfa65cea4c3c8d29695807ef6f8f6bd5f06 /eio.c
parente4d53612e13dc9aae6ac549059f3ffc98c866f34 (diff)
*** empty log message ***
Diffstat (limited to 'eio.c')
-rw-r--r--eio.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/eio.c b/eio.c
index 41561d3..cef46a3 100644
--- a/eio.c
+++ b/eio.c
@@ -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)