Skip to content
  • Paul Eggert's avatar
    localeinfo: record whether locale is simple · 74324f05
    Paul Eggert authored
    * lib/localeinfo.c (using_simple_locale): New function,
    copied here from lib/dfa.c but with a change: it uses
    strcoll for its heuristic, instead of using setlocale.
    This lets it be thread-safe.
    * lib/localeinfo.h (struct localeinfo): New member ‘simple’.
    74324f05