libuv/src
cjihrig e179bd1b43
unix: set errno in uv_fs_copyfile()
When the specific value of -1 is returned, uv__fs_work() uses
the value of errno. This commit sets errno in uv__fs_copyfile().

Fixes: https://github.com/nodejs/node/issues/21329
PR-URL: https://github.com/libuv/libuv/pull/1881
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2018-06-14 12:50:50 -04:00
..
unix unix: set errno in uv_fs_copyfile() 2018-06-14 12:50:50 -04:00
win win: move stdint-msvc2008.h to include/uv/ 2018-06-14 18:40:09 +02:00
fs-poll.c unix, win: count null byte on UV_ENOBUFS 2016-03-03 09:23:10 +01:00
heap-inl.h heap: fix heap_remove() 2014-05-23 20:04:42 +04:00
inet.c win: move stdint-msvc2008.h to include/uv/ 2018-06-14 18:40:09 +02:00
queue.h unix: use QUEUE_MOVE when iterating over lists 2015-10-08 21:47:43 +02:00
threadpool.c unix,win: wait for threads to start 2017-12-06 23:47:38 +01:00
uv-common.c req: revisions to uv_req_t handling 2018-02-25 18:49:37 +01:00
uv-common.h win: move stdint-msvc2008.h to include/uv/ 2018-06-14 18:40:09 +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 core: add UV_VERSION_HEX macro 2015-06-29 23:08:41 +02:00