This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH for branch glibc-2-3-1] s390 __ssize_t definition change
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Gerhard Tonn <ton at de dot ibm dot com>
- Cc: libc-alpha at sources dot redhat dot com, schwidefsky at de dot ibm dot com
- Date: Tue, 5 Nov 2002 12:20:05 +0100
- Subject: Re: [PATCH for branch glibc-2-3-1] s390 __ssize_t definition change
- References: <02110511572000.22700@fmtc804>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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