summaryrefslogtreecommitdiff
path: root/src/locale/dcngettext.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2017-03-21 08:54:19 -0400
committerRich Felker <dalias@aerifal.cx>2017-03-21 08:54:19 -0400
commit16319a5df9d50cfc642ffc8db76bc36562d4b3dd (patch)
treec7d54e4442dae129ec052d50a6b48e73e170ff84 /src/locale/dcngettext.c
parent0c53178ec09478ca5f6ca6b5ad09d50a10c8f19d (diff)
downloadmusl-16319a5df9d50cfc642ffc8db76bc36562d4b3dd.tar.gz
make setlocale return a single name for LC_ALL if all categories match
when called for LC_ALL, setlocale has to return a string representing the state of all locale categories. the simplest way to do this was to always return a delimited list of values for each category, but that's not friendly in the fairly common case where all categories have the same setting. He X proposed a patch to check for this case and return a single name; this patch is a simplified approach to do the same.
Diffstat (limited to 'src/locale/dcngettext.c')
0 files changed, 0 insertions, 0 deletions