Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 862967 Details for
Bug 907474
sys-apps/coreutils-9.3-r1: cp fails for files > 2 GB if copy offload is unsupported
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
With this patch copying large files works again on affected systems.
fix_cp.patch (text/plain), 551 bytes, created by
Rojhalat Ibrahim
on 2023-05-31 12:43:10 UTC
(
hide
)
Description:
With this patch copying large files works again on affected systems.
Filename:
MIME Type:
Creator:
Rojhalat Ibrahim
Created:
2023-05-31 12:43:10 UTC
Size:
551 bytes
patch
obsolete
>diff --git a/src/copy.c b/src/copy.c >index 0dd059d2e..c5748fe71 100644 >--- a/src/copy.c >+++ b/src/copy.c >@@ -356,6 +356,9 @@ sparse_copy (int src_fd, int dest_fd, char **abuf, size_t buf_size, > { > copy_debug.offload = COPY_DEBUG_UNSUPPORTED; > >+ if (errno == EINVAL) >+ break; >+ > /* Consider operation unsupported only if no data copied. > For example, EPERM could occur if copy_file_range not enabled > in seccomp filters, so retry with a standard copy. EPERM can
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 907474
: 862967