Commit f521afe7 authored by Sam Rushing's avatar Sam Rushing

transition away from ironport's libc.pxd to the ones distributed with Cython

parent 79049c6b
......@@ -153,7 +153,7 @@ def aio_read (int fd, int nbytes, uint64_t offset):
raise_oserror()
else:
r = _aio_error (&cb.cb)
if r == libc.EINPROGRESS:
if r == errno.EINPROGRESS:
# delayed async operation
# 0 because we're not in the changelist.
kt = kevent_target (me, 0)
......@@ -222,7 +222,7 @@ def aio_write (int fd, object buffer, uint64_t offset):
raise_oserror()
else:
r = _aio_error (&cb.cb)
if r == libc.EINPROGRESS:
if r == errno.EINPROGRESS:
# delayed async operation
# wait for the kevent to wake us up
# 0 because we're not in the changelist.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment