diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-09-14 13:00:41 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-09-14 13:11:19 -0400 |
commit | 017e67ddde79fa2b6187a5e56b1e92bafc7c4cd2 (patch) | |
tree | b3fd75dcf61708f262adbb42863524e01caf9f47 /src/sched | |
parent | 12817793301398241b6cb00c740f0d3ca41076e9 (diff) | |
download | musl-017e67ddde79fa2b6187a5e56b1e92bafc7c4cd2.tar.gz musl-017e67ddde79fa2b6187a5e56b1e92bafc7c4cd2.tar.xz musl-017e67ddde79fa2b6187a5e56b1e92bafc7c4cd2.zip |
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/sched')
0 files changed, 0 insertions, 0 deletions