path: root/src/conf
diff options
authorRich Felker <>2018-09-14 13:00:41 -0400
committerRich Felker <>2018-09-14 13:11:19 -0400
commit017e67ddde79fa2b6187a5e56b1e92bafc7c4cd2 (patch)
treeb3fd75dcf61708f262adbb42863524e01caf9f47 /src/conf
parent12817793301398241b6cb00c740f0d3ca41076e9 (diff)
drop lazy plural forms init in dcngettext
there is no good reason to wait to find and process the plural rules for a translated message file until a gettext form requesting plural rule processing is used. it just imposes additional synchronization, here in the form of clunky use of atomics. it looks like there may also have been a race condition where nplurals could be seen without plural_rule being seen, possibly leading to null pointer dereference. if so, this commit fixes it.
Diffstat (limited to 'src/conf')
0 files changed, 0 insertions, 0 deletions