summaryrefslogtreecommitdiff
path: root/libc/stdio/__fpurge.c
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2013-10-02 16:14:55 +0300
committerChris Zankel <chris@zankel.net>2013-11-04 15:01:39 -0800
commita20d9fe5396585b6448aa13c5f6cf8d111b7b7f5 (patch)
tree2f32c0f47871ea7f6da3859508d27c755646392b /libc/stdio/__fpurge.c
parentcaee5620633acbf1b620d9704a5a372358adba32 (diff)
xtensa: fix atomic_decrement_if_positive() return value
atomic_decrement_if_positive() returns the old value of &mem, not the (sometimes undefined) value of __tmp. Fixes the uClibc nptl/tst-sem3 test. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'libc/stdio/__fpurge.c')
0 files changed, 0 insertions, 0 deletions