[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

32-bit glibc bug with SSIZE_MAX

From: Eric Blake
Subject: 32-bit glibc bug with SSIZE_MAX
Date: Tue, 12 Jul 2016 11:06:44 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

I just tripped up on this glibc bug:


where glibc incorrectly defines SSIZE_MAX as a long even though ssize_t
is an int on a 32-bit platform.

I'm planning on tweaking gnulib's replacement <limits.h> to work around
it in the meantime.

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]