glibc/iconv
Arjun Shankar 6d6ee04622 Unconditionally call __gconv_get_path when reading iconv configuration
__gconv_read_conf is only ever called once during the program's lifetime.
This means that __gconv_path_elem is always uninitialized when the function
begins executing.  __gconv_get_path has an assert to ensure that this
expected runtime behaviour is always exhibited.  Given this, checking for a
NULL value before calling __gconv_get_path is unnecessary.  This commit
drops the condition and calls __gconv_get_path unconditionally.
2018-11-05 15:45:07 +01:00
..
dummy-repertoire.c
gconv_builtin.c
gconv_builtin.h
gconv_cache.c
gconv_charset.h
gconv_close.c
gconv_conf.c Unconditionally call __gconv_get_path when reading iconv configuration 2018-11-05 15:45:07 +01:00
gconv_db.c Remove unnecessary locking when reading iconv configuration [BZ #22062] 2018-10-17 17:47:29 +02:00
gconv_dl.c
gconv_int.h Remove unnecessary locking when reading iconv configuration [BZ #22062] 2018-10-17 17:47:29 +02:00
gconv_open.c Clean up iconv/gconv_int.h for unnecessary declarations 2018-09-25 15:13:15 +02:00
gconv_simple.c
gconv_trans.c
gconv.c
gconv.h
iconv_charmap.c
iconv_close.c
iconv_open.c
iconv_prog.c
iconv_prog.h
iconv.c
iconv.h
iconvconfig.c
iconvconfig.h
loop.c
Makefile Remove unnecessary locking when reading iconv configuration [BZ #22062] 2018-10-17 17:47:29 +02:00
skeleton.c
strtab.c
test-gconv-modules
tst-gconv-init-failure-mod.c
tst-gconv-init-failure.c
tst-iconv1.c
tst-iconv2.c
tst-iconv3.c
tst-iconv4.c
tst-iconv5.c
tst-iconv6.c
tst-iconv-mt.c Remove unnecessary locking when reading iconv configuration [BZ #22062] 2018-10-17 17:47:29 +02:00
Versions