summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-02-22 16:32:45 +0100
committerJim Meyering <jim@meyering.net>2007-02-22 16:32:45 +0100
commitc450b625b4351aa5ab87a4334f95b6a24f3a0022 (patch)
treefeb4f2467437fc33c3c8e8ea3c539b106208ca25 /ChangeLog
parentf48ca7f500cd55e88f9fa24ec8ef74d6bed25a69 (diff)
downloadcoreutils-c450b625b4351aa5ab87a4334f95b6a24f3a0022.tar.xz
Adjust preceding change not to perform an unaligned access.
* src/copy.c (copy_reg): Undo previous change. Instead, make it clearer that we're using a single-byte sentinel, and [lint]: Initialize uintptr_t-1 bytes after the sentinel. Reported by Andreas Schwab.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ec598a011..fabf1a33f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2007-02-22 Jim Meyering <jim@meyering.net>
+ Adjust preceding change not to perform an unaligned access.
+ * src/copy.c (copy_reg): Undo previous change. Instead, make
+ it clearer that we're using a single-byte sentinel, and
+ [lint]: Initialize uintptr_t-1 bytes after the sentinel.
+ Reported by Andreas Schwab.
+
Placate valgrind, wrt ./cp --sparse=always
* src/copy.c (copy_reg): Place the sentinel by setting a
full word's worth of bits, not just a single byte's worth.