about summary refs log tree commit diff
path: root/arch/or1k/reloc.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-14 13:00:41 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-14 13:11:19 -0400
commit017e67ddde79fa2b6187a5e56b1e92bafc7c4cd2 (patch)
treeb3fd75dcf61708f262adbb42863524e01caf9f47 /arch/or1k/reloc.h
parent12817793301398241b6cb00c740f0d3ca41076e9 (diff)
downloadmusl-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 'arch/or1k/reloc.h')
0 files changed, 0 insertions, 0 deletions