musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/stdlib/strtol.c
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 /src/stdlib/strtol.c
parent12817793301398241b6cb00c740f0d3ca41076e9 (diff)
downloadmusl-017e67ddde79fa2b6187a5e56b1e92bafc7c4cd2.tar.gz
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/stdlib/strtol.c')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月02日 20:03:07 +0000

AltStyle によって変換されたページ (->オリジナル) /