[PATCH for branch glibc-2-3-1] s390 __ssize_t definition change
Jakub Jelinek
jakub@redhat.com
Tue Nov 5 03:20:00 GMT 2002
On Tue, Nov 05, 2002 at 11:38:34AM +0100, Gerhard Tonn wrote:
> Hi,
> attached is a patch that changes __ssize_t for s390 back to what is was defined
> in glibc 2.2.5. The current definition gives some C++ template instantiation
> problems.
>
> 2002-11-05 Gerhard Tonn <ton@de.ibm.com>
> * sysdeps/unix/sysv/linux/s390/bits/types.h: Change __ssize_t for 32 bit back to int.
Please update from CVS, this header doesn't exist any longer.
And it should be ok in current CVS; sysdeps/generic/bits/types.h has:
#if __WORDSIZE == 32
# define __SWORD_TYPE int
...
#elif __WORDSIZE == 64
# define __SWORD_TYPE long int
...
#endif
...
typedef __SWORD_TYPE __ssize_t; /* Type of a byte count, or error. */
Jakub
More information about the Libc-alpha
mailing list