libuv/src
Ben Noordhuis 25a3894c8d
aix: don't EISDIR on read from directory fd
Remove the artificial EISDIR that was generated when trying to
uv_fs_read() from a file descriptor that refers to a directory.

We don't do that on the BSDs either (where reading from a directory
is allowed) and it introduces an extra stat() call for every read.

Refs: https://github.com/libuv/libuv/pull/2023#issuecomment-427759265
PR-URL: https://github.com/libuv/libuv/pull/2025
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
2018-10-08 11:11:50 -04:00
..
unix aix: don't EISDIR on read from directory fd 2018-10-08 11:11:50 -04:00
win win: remove req.c and other cleanup 2018-10-08 11:06:15 -04:00
fs-poll.c unix,win: merge handle flags 2018-06-29 22:24:52 +02:00
heap-inl.h
inet.c win: move stdint-msvc2008.h to include/uv/ 2018-06-14 18:40:09 +02:00
queue.h
threadpool.c unix,win: fix threadpool race condition 2018-10-07 15:50:57 -07:00
timer.c unix,win: merge timers implementation 2018-06-25 23:48:15 +02:00
uv-common.c src: add new error apis to prevent memory leaks 2018-07-06 19:35:21 +02:00
uv-common.h unix,win: limit concurrent DNS calls to nthreads/2 2018-08-21 10:48:24 +02:00
uv-data-getter-setters.c core: add getter/setter functions for easier ABI compat 2017-12-02 09:51:25 +01:00
version.c