GNU C Library master sources branch master updated. glibc-2.28.9000-256-g6e36266

fw@sourceware.org fw@sourceware.org
Fri Nov 2 17:16:00 GMT 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  6e36266cec43aac8bb22457428343fcbd523f108 (commit)
       via  599f7beee7f693926dc2775dc5054007c96b7b74 (commit)
      from  3ae3c4371df5a06d84096f9c6f7bfbe0d3c46a0d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=6e36266cec43aac8bb22457428343fcbd523f108

commit 6e36266cec43aac8bb22457428343fcbd523f108
Author: Florian Weimer <fweimer@redhat.com>
Date:   Fri Nov 2 15:37:50 2018 +0100

    support/shell-container.c: Use support_copy_file_range
    
    Reviewed-by: DJ Delorie <dj@redhat.com>

diff --git a/ChangeLog b/ChangeLog
index da72d30..497f5b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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.
+
+2018-11-02  Florian Weimer  <fweimer@redhat.com>
+
 	* support/test-container.c: Include <libc-pointer-arith.h> for
 	ALIGN_UP.
 
diff --git a/support/shell-container.c b/support/shell-container.c
index d303131..9bd90d3 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));

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=599f7beee7f693926dc2775dc5054007c96b7b74

commit 599f7beee7f693926dc2775dc5054007c96b7b74
Author: Florian Weimer <fweimer@redhat.com>
Date:   Fri Nov 2 15:36:09 2018 +0100

    support/test-container.c: Include <libc-pointer-arith.h>
    
    Reviewed-by: DJ Delorie <dj@redhat.com>

diff --git a/ChangeLog b/ChangeLog
index af75695..da72d30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-11-02  Florian Weimer  <fweimer@redhat.com>
+
+	* support/test-container.c: Include <libc-pointer-arith.h> for
+	ALIGN_UP.
+
 2018-11-01  Zong Li  <zong@andestech.com>
 
 	* soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
diff --git a/support/test-container.c b/support/test-container.c
index fbdfb4a..b58f0f7 100644
--- a/support/test-container.c
+++ b/support/test-container.c
@@ -37,6 +37,7 @@
 #include <utime.h>
 #include <errno.h>
 #include <error.h>
+#include <libc-pointer-arith.h>
 
 #ifdef __linux__
 #include <sys/mount.h>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                 |   11 +++++++++++
 support/shell-container.c |    2 +-
 support/test-container.c  |    1 +
 3 files changed, 13 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources



More information about the Glibc-cvs mailing list