about summary refs log tree commit diff
path: root/libio/bug-ungetc2.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-06-30 09:08:31 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-06-30 09:12:59 -0300
commit71d87d85bf54f6522813aec97c19bdd24997341e (patch)
tree1922962b0d2543b770d09975cc1a1a4d61723408 /libio/bug-ungetc2.c
parent96ac447d915ea5ecef3f9168cc13f4e731349a3b (diff)
downloadglibc-71d87d85bf54f6522813aec97c19bdd24997341e.tar.gz
glibc-71d87d85bf54f6522813aec97c19bdd24997341e.tar.xz
glibc-71d87d85bf54f6522813aec97c19bdd24997341e.zip
linux: Fix mq_timereceive check for 32 bit fallback code (BZ 29304)
On  success,  mq_receive() and mq_timedreceive() return the number of
bytes in the received message, so it requires to check if the value
is larger than 0.

Checked on i686-linux-gnu.
Diffstat (limited to 'libio/bug-ungetc2.c')
0 files changed, 0 insertions, 0 deletions