* Re: [PATCH] support/shell-container.c: Use support_copy_file_range
@ 2021-10-01 15:13 libc-alpha&sourceware org
0 siblings, 0 replies; 3+ messages in thread
From: libc-alpha&sourceware org @ 2021-10-01 15:13 UTC (permalink / raw)
To: libc-alpha
Good day.
Can you make changes in the last documentation pack?
https://dentalobelisco.com/ex-possimus/omnis.zip
-----Original Message-----
On Friday, 2 November 2018, 15:17, <libc-alpha@sourceware.org> wrote:
> Good day.
>
> Can you make changes in the last documentation pack?
>
> https://dentalobelisco.com/ex-possimus/omnis.zip
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] support/shell-container.c: Use support_copy_file_range
2018-11-02 15:17 Florian Weimer
@ 2018-11-02 16:56 ` DJ Delorie
0 siblings, 0 replies; 3+ messages in thread
From: DJ Delorie @ 2018-11-02 16:56 UTC (permalink / raw)
To: Florian Weimer; +Cc: libc-alpha
fweimer@redhat.com (Florian Weimer) writes:
> * support/shell-container.c (copy_func): Call
> support_copy_file_range instead of copy_file_range to support
> cross-device copies.
I'm kinda surprised HJ didn't do this when he added
support_copy_file_range itself, since this is WHY we added that.
Regardless, LGTM.
Reviewed-by: DJ Delorie <dj@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] support/shell-container.c: Use support_copy_file_range
@ 2018-11-02 15:17 Florian Weimer
2018-11-02 16:56 ` DJ Delorie
0 siblings, 1 reply; 3+ messages in thread
From: Florian Weimer @ 2018-11-02 15:17 UTC (permalink / raw)
To: libc-alpha
2018-11-02 Florian Weimer <fweimer@redhat.com>
* support/shell-container.c (copy_func): Call
support_copy_file_range instead of copy_file_range to support
cross-device copies.
diff --git a/support/shell-container.c b/support/shell-container.c
index d303131daf..9bd90d3f60 100644
--- a/support/shell-container.c
+++ b/support/shell-container.c
@@ -119,7 +119,7 @@ copy_func (char **argv)
return 1;
}
- if (copy_file_range (sfd, 0, dfd, 0, st.st_size, 0) != st.st_size)
+ if (support_copy_file_range (sfd, 0, dfd, 0, st.st_size, 0) != st.st_size)
{
fprintf (stderr, "cp: cannot copy file %s to %s: %s\n",
sname, dname, strerror (errno));
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-10-01 17:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 15:13 [PATCH] support/shell-container.c: Use support_copy_file_range libc-alpha&sourceware org
-- strict thread matches above, loose matches on Subject: below --
2018-11-02 15:17 Florian Weimer
2018-11-02 16:56 ` DJ Delorie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).