aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2020-08-04 20:56:19 -0400
committercjihrig <cjihrig@gmail.com>2020-08-09 11:13:39 -0400
commit278cfa018356c29b24b8be6a25dbefba84b406d3 (patch)
tree247fc34ba29324de37bd4d584b33eb3e79ada22b /docs/src
parentb2cec846efecc7ebb882234b5dc0b9a6690da461 (diff)
downloadlibuv-278cfa018356c29b24b8be6a25dbefba84b406d3.tar.gz
libuv-278cfa018356c29b24b8be6a25dbefba84b406d3.zip
unix: handle src, dest same in uv_fs_copyfile()
This commit handles the case where the source and destination are the same. This behavior was originally addressed in #2298, but the test added in that PR doesn't validate the file size after the operation. This commit also updates the test to check for that case. Refs: https://github.com/libuv/libuv/pull/2298 Refs: https://github.com/nodejs/node/issues/34624 PR-URL: https://github.com/libuv/libuv/pull/2947 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions