]> sourceware.org Git - glibc.git/commitdiff
NaCl: Make __suseconds_t be long int rather than int32_t.
authorRoland McGrath <roland@hack.frob.com>
Wed, 29 Apr 2015 20:34:32 +0000 (13:34 -0700)
committerRoland McGrath <roland@hack.frob.com>
Wed, 29 Apr 2015 20:34:32 +0000 (13:34 -0700)
ChangeLog
sysdeps/nacl/bits/typesizes.h

index c32cf7ae792f6860c5a5c2ec1bd97d7cdcf7b32c..5d154d2525dbc202dabda9007e3942a94910e27f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-04-29  Roland McGrath  <roland@hack.frob.com>
+
+       * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
+       __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
+       but __suseconds_t is often 'long int' so some sources assume that
+       type is being used (e.g. they use %ld to print tv_usec).
+
 2015-04-29  Florian Weimer  <fweimer@redhat.com>
 
        [BZ #18007]
index 2a290350572633551172071ba56552619093b701..644388631c9b720f9220aedddbf1cc25eb749aff 100644 (file)
@@ -49,7 +49,7 @@
 #define __CLOCK_T_TYPE         __SQUAD_TYPE
 #define __TIME_T_TYPE          __SQUAD_TYPE
 #define __USECONDS_T_TYPE      __U32_TYPE
-#define __SUSECONDS_T_TYPE     __S32_TYPE
+#define __SUSECONDS_T_TYPE     __SLONGWORD_TYPE
 #define __DADDR_T_TYPE         __S32_TYPE
 #define __KEY_T_TYPE           __S32_TYPE
 #define __CLOCKID_T_TYPE       __S32_TYPE
This page took 0.116944 seconds and 5 git commands to generate.