[PATCH] Fix ssize_t definition on s390 32-bit (followup)

Roland McGrath roland@redhat.com
Fri Aug 1 00:35:00 GMT 2003


> Oops, I've missed typesizes.h in linuxthreads.
> Here is the rest of the patch.

Why do we even have this?  For this:

--- sysdeps/generic/bits/typesizes.h	Tue Mar 25 14:49:32 2003
+++ linuxthreads/sysdeps/pthread/bits/typesizes.h	Tue Mar 25 12:39:24 2003
@@ -54,7 +54,7 @@
 #define __SWBLK_T_TYPE		__SLONGWORD_TYPE
 #define __KEY_T_TYPE		__S32_TYPE
 #define __CLOCKID_T_TYPE	__S32_TYPE
-#define __TIMER_T_TYPE		void *
+#define __TIMER_T_TYPE		__S32_TYPE
 #define __BLKSIZE_T_TYPE	__SLONGWORD_TYPE
 #define __FSID_T_TYPE		struct { int __val[2]; }
 

?  Why not just change generic/bits/typesizes.h and get rid of the
linuxthreads ones altogether?



More information about the Libc-hacker mailing list