Browse Source
Issue https://github.com/termux/termux-packages/issues/4664. 19824 ioctl(29, BTRFS_IOC_CLONE or FICLONE, 34 <unfinished ...> 19823 fstat64(30, <unfinished ...> 19822 write(16, "\1\0\0\0\0\0\0\0", 8 <unfinished ...> 19821 close(31 <unfinished ...> 19804 <... epoll_pwait resumed>[{EPOLLIN, {u32=16, u64=16}}], 1024, 867, NULL, 8) = 1 19824 <... ioctl resumed>) = -1 EACCES (Permission denied)build-on-device
Leonid Plyushch
5 years ago
2 changed files with 21 additions and 0 deletions
@ -0,0 +1,20 @@ |
|||||
|
diff -uNr node-v13.0.0/deps/uv/src/unix/fs.c node-v13.0.0.mod/deps/uv/src/unix/fs.c
|
||||
|
--- node-v13.0.0/deps/uv/src/unix/fs.c 2019-10-22 17:23:28.000000000 +0300
|
||||
|
+++ node-v13.0.0.mod/deps/uv/src/unix/fs.c 2020-01-16 02:27:44.944603915 +0200
|
||||
|
@@ -1048,6 +1048,7 @@
|
||||
|
goto out; |
||||
|
} |
||||
|
|
||||
|
+#ifndef __ANDROID__
|
||||
|
#ifdef FICLONE |
||||
|
if (req->flags & UV_FS_COPYFILE_FICLONE || |
||||
|
req->flags & UV_FS_COPYFILE_FICLONE_FORCE) { |
||||
|
@@ -1072,7 +1073,7 @@
|
||||
|
goto out; |
||||
|
} |
||||
|
#endif |
||||
|
-
|
||||
|
+#endif
|
||||
|
bytes_to_send = src_statsbuf.st_size; |
||||
|
in_offset = 0; |
||||
|
while (bytes_to_send != 0) { |
Loading…
Reference in new issue