aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2017-10-22 20:01:07 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2017-10-22 20:01:07 +0000
commit1f04a45950ad1bf0dd52f8067d3b76afa3be8355 (patch)
tree5f0df76443783d29352e052ddd4e2d33102278e7 /sys/sys
parent7421ff0751fadff2b6f5154f43067b869509603f (diff)
downloadsrc-1f04a45950ad1bf0dd52f8067d3b76afa3be8355.tar.gz
src-1f04a45950ad1bf0dd52f8067d3b76afa3be8355.zip
libc: Do not refer to _DefaultRuneLocale in ctype inlines
Referring to _DefaultRuneLocale causes this >4KB structure to be copied to all executables that use <ctype.h> inlines (except PIE executables). This only affects the case where thread local storage is available. _CurrentRuneLocale cannot be NULL, so the check can be removed entirely. _DefaultRuneLocale needs to remain available for now since libc++ uses it. The __isctype inline in include/_ctype.h also refers to _DefaultRuneLocale and remains available because it may still be used by third party software. Reviewed by: bdrewery, theraven Differential Revision: https://reviews.freebsd.org/D10363
Notes
Notes: svn path=/head/; revision=324866
Diffstat (limited to 'sys/sys')
0 files changed, 0 insertions, 0 deletions