This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.19-773-g96baf6f
- From: siddhesh at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 4 Jul 2014 19:40:00 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.19-773-g96baf6f
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 96baf6ffc57b811bbc424a1fc72ef77dd56d7a18 (commit)
from 1570a72bb8359c9a3a64c4e22d9ea47ce6fcff31 (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=96baf6ffc57b811bbc424a1fc72ef77dd56d7a18
commit 96baf6ffc57b811bbc424a1fc72ef77dd56d7a18
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Sat Jul 5 01:09:15 2014 +0530
Add comment for MEMCPY_OK_FOR_FWD_MEMMOVE
diff --git a/ChangeLog b/ChangeLog
index a9574c9..d5458c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
+
+ * sysdeps/generic/memcopy.h: Add comment for
+ MEMCPY_OK_FOR_FWD_MEMMOVE.
+
2014-07-04 Will Newton <will.newton@linaro.org>
* string/memchr.c: Merge from gnulib.
diff --git a/sysdeps/generic/memcopy.h b/sysdeps/generic/memcopy.h
index 45c5fcb..f7b9423 100644
--- a/sysdeps/generic/memcopy.h
+++ b/sysdeps/generic/memcopy.h
@@ -190,6 +190,9 @@ extern void _wordcopy_bwd_dest_aligned (long int, long int, size_t) __THROW;
/* Threshold value for when to enter the unrolled loops. */
#define OP_T_THRES 16
+/* Set to 1 if memcpy is safe to use for forward-copying memmove with
+ overlapping addresses. This is 0 by default because memcpy implementations
+ are generally not safe for overlapping addresses. */
#define MEMCPY_OK_FOR_FWD_MEMMOVE 0
#endif /* memcopy.h */
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/generic/memcopy.h | 3 +++
2 files changed, 8 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources