]> git.ipfire.org Git - thirdparty/coreutils.git/commit
shred,sort: ensure faster unaligned access to rand module
authorPádraig Brady <P@draigBrady.com>
Fri, 25 Nov 2016 22:10:20 +0000 (22:10 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 27 Nov 2016 00:27:45 +0000 (00:27 +0000)
commit12f6214d07ad93814bad81cb384e087792068213
tree186736dec69241d7d851bb6b7e1687c6f28bb147
parentc7c0c8b65981ab2163269ac8869ac763dc9f15c2
shred,sort: ensure faster unaligned access to rand module

glibc has changed the public define
from _STRING_ARCH_unaligned to _STRING_INLINE_unaligned as per
https://sourceware.org/bugzilla/show_bug.cgi?id=19462

* gl/lib/rand-isaac.c: Cater for both defines.
* gl/lib/randread.c: Likewise.
* src/system.h: Update commented out code.
gl/lib/rand-isaac.c
gl/lib/randread.c
src/system.h