1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/include
Jilles Tjoelker 1f04a45950 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
2017-10-22 20:01:07 +00:00
..
arpa Fix include/arpa/nameser_compat.h by adding T_DNAME definition. 2017-02-28 20:34:25 +00:00
gssapi
protocols
rpc xdr: Fix xdr_rpc* defines. 2016-03-04 22:03:38 +00:00
rpcsvc include: minor spelling fixes. 2016-04-30 14:43:42 +00:00
xlocale LC_*_MASK bit shifting order was partially broken from the initial commit 2016-08-23 20:33:56 +00:00
_ctype.h Commit log from Dragonfly: 2015-10-13 20:43:49 +00:00
a.out.h
ar.h
assert.h
bitstring.h Improve performance and functionality of the bitstring(3) api 2016-05-04 22:34:11 +00:00
complex.h Add new catrigl.c (r313761) APIs to include/complex.h 2017-02-18 21:08:09 +00:00
cpio.h
ctype.h Commit log from Dragonfly: 2015-10-13 20:43:49 +00:00
db.h
dirent.h Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
dlfcn.h
elf-hints.h
elf.h
err.h Make use of clang nullability attributes. 2017-01-28 20:54:43 +00:00
fmtmsg.h
fnmatch.h
fstab.h
fts.h
ftw.h
getopt.h
glob.h
grp.h Fix up setgrent(3) to have a POSIX-compliant prototype. 2016-07-31 08:05:15 +00:00
gssapi.h
hesiod.h
iconv.h
ieeefp.h
ifaddrs.h
inttypes.h
iso646.h
kenv.h
langinfo.h
libgen.h Replace basename(3) by a thread-safe implementation. 2016-11-03 20:21:34 +00:00
limits.h Detect integer overflow and limit the number of positional 2016-10-31 18:38:58 +00:00
link.h
locale.h
Makefile An MMC/SD/SDIO stack using CAM 2017-07-09 16:57:24 +00:00
Makefile.depend
malloc_np.h Update jemalloc to 5.0.0. 2017-06-15 07:15:05 +00:00
malloc.h
memory.h
mk-osreldate.sh Stop building vers.c in include/ and only build the needed osreldate.h. 2015-11-25 19:10:59 +00:00
monetary.h Make strfmon_l() work without requiring the use of <xlocale.h>. 2016-05-31 12:29:21 +00:00
mpool.h
mqueue.h Export the mq_getfd_np() symbol from librt.so, which allows to get 2016-10-02 17:02:59 +00:00
ndbm.h ndbm.h: Add a comment pointing out our non-compliance with POSIX. 2017-05-22 23:17:55 +00:00
netconfig.h
netdb.h Add NI_NUMERICSCOPE. 2016-07-28 10:05:41 +00:00
nl_types.h
nlist.h
nss.h
nsswitch.h
paths.h libkvm: support access to vmm guest memory, allow writes to fwmem and vmm 2016-12-27 10:17:56 +00:00
printf.h
proc_service.h
pthread_np.h
pthread.h Small inclusion guard comment fix. 2017-02-16 20:28:30 +00:00
pwd.h
ranlib.h
readpassphrase.h
regex.h
res_update.h
resolv.h resolver: preserve binary compatibility; reduce header pollution 2015-12-14 17:21:06 +00:00
runetype.h libc: Do not refer to _DefaultRuneLocale in ctype inlines 2017-10-22 20:01:07 +00:00
search.h Improve typing of POSIX search tree functions. 2016-10-13 18:25:40 +00:00
semaphore.h Sort declaration of sem_clockwait_np 2017-02-28 21:47:00 +00:00
setjmp.h
signal.h Make use of clang nullability attributes. 2017-01-28 20:54:43 +00:00
spawn.h
stab.h
stdalign.h
stdbool.h
stddef.h Sync (make same) the offsetof macro definition in include/ with the 2017-10-15 02:40:13 +00:00
stdio.h libthr: fix warnings from GCC when WARNS=6 2017-05-23 16:12:50 +00:00
stdlib.h Implement the memset_s(3) function as specified by the C11 ISO/IEC 2017-03-30 04:57:26 +00:00
stdnoreturn.h
string.h Implement the memset_s(3) function as specified by the C11 ISO/IEC 2017-03-30 04:57:26 +00:00
stringlist.h
strings.h
sysexits.h
tar.h
termios.h Use __BSD_VISIBLE test instead checking for absense of _POSIX_SOURCE. 2017-05-24 09:25:13 +00:00
tgmath.h
time.h Add clock_nanosleep() 2017-03-19 00:51:12 +00:00
timeconv.h
timers.h
ttyent.h Impelemnt ttys onifexists in init. 2017-03-22 19:00:41 +00:00
uchar.h
ulimit.h
unistd.h Remove setkey(), encrypt(), des_setkey() and des_cipher(). 2016-10-03 18:20:58 +00:00
unwind.h
utime.h
utmpx.h
uuid.h
varargs.h
wchar.h Add missing va_list to <wchar.h>. 2016-05-30 16:26:34 +00:00
wctype.h Commit log from Dragonfly: 2015-10-13 20:43:49 +00:00
wordexp.h
xlocale.h