about summary refs log tree commit diff
path: root/misc/hsearch.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2014-11-17 22:00:58 -0200
committerAlexandre Oliva <aoliva@redhat.com>2015-02-26 02:16:51 -0300
commit0d822a016b631aef409df5805f58962fe5bbcdc5 (patch)
treefa1265412059d2b5f06ed1de2f5637e346a90866 /misc/hsearch.c
parentca681b7b7b79bea3af62fe709df6594f3f5457e6 (diff)
downloadglibc-0d822a016b631aef409df5805f58962fe5bbcdc5.tar.gz
glibc-0d822a016b631aef409df5805f58962fe5bbcdc5.tar.xz
glibc-0d822a016b631aef409df5805f58962fe5bbcdc5.zip
BZ #15969: search locale archive again after alias expansion
If a locale alias is defined in locale.alias but not in an archive,
and the referenced locale is only present in the archive, setlocale
will fail if given the alias name.  This is unintuitive.  This patch
fixes it, arranging for the locale archive to be searched again after
alias expansion.

for  ChangeLog

	[BZ #15969]
	* locale/findlocale.c (_nl_find_locale): Retry archive search
	after alias expansion.
Diffstat (limited to 'misc/hsearch.c')
0 files changed, 0 insertions, 0 deletions