This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH for branch glibc-2-3-1] s390 __ssize_t definition change


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]