summaryrefslogtreecommitdiff
path: root/build-aux/gcc-warning.spec
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@telfort.nl>2018-04-21 11:08:08 +0200
committerBruno Haible <bruno@clisp.org>2018-04-21 12:36:53 +0200
commit214bf852d8dab02bf62900e61facef2c9f48f2f4 (patch)
treea9bcad2a1b1ba3d55ecb5f426777dc2ff3c85018 /build-aux/gcc-warning.spec
parentba54e151255c0d983c49205d73cd62029d1dbaaa (diff)
downloadgnulib-214bf852d8dab02bf62900e61facef2c9f48f2f4.tar.gz
localcharset: short-circuit the search for an alias on a Mac
* lib/localcharset.c (get_charset_aliases): Add a tautological UTF-8 entry to speed up the search for this case. Most machines default to a UTF-8 locale nowadays, so begin the list of aliases with a dummy UTF-8 entry so it will be found immediately and a time-consuming search through the rest of the list is avoided.
Diffstat (limited to 'build-aux/gcc-warning.spec')
0 files changed, 0 insertions, 0 deletions