A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/libuv/libuv/commit/eaf25ae3eb8fe567b8be15614996b112dbf5c11b below:

use fchmod() in uv_fs_copyfile() · libuv/libuv@eaf25ae · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+5

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+5

-0

lines changed Original file line number Diff line number Diff line change

@@ -828,6 +828,11 @@ static ssize_t uv__fs_copyfile(uv_fs_t* req) {

828 828

goto out;

829 829

}

830 830 831 +

if (fchmod(dstfd, statsbuf.st_mode) == -1) {

832 +

err = -errno;

833 +

goto out;

834 +

}

835 + 831 836

bytes_to_send = statsbuf.st_size;

832 837

in_offset = 0;

833 838

while (bytes_to_send != 0) {

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4