diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | iconv/gconv_conf.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 5268012d24..d7ee676cf8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-11-05 Arjun Shankar <arjun@redhat.com> + + * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for + __gconv_path_elem and call __gconv_get_path unconditionally. + 2018-11-05 Andreas Schwab <schwab@suse.de> [BZ #22927] diff --git a/iconv/gconv_conf.c b/iconv/gconv_conf.c index 78010491e6..2b73dd8f45 100644 --- a/iconv/gconv_conf.c +++ b/iconv/gconv_conf.c @@ -552,8 +552,7 @@ __gconv_read_conf (void) #ifndef STATIC_GCONV /* Find out where we have to look. */ - if (__gconv_path_elem == NULL) - __gconv_get_path (); + __gconv_get_path (); for (cnt = 0; __gconv_path_elem[cnt].name != NULL; ++cnt) { |