patch-time_c 548 B

1234567891011121314
  1. --- strace-4.8.orig/time.c 2012-05-01 23:17:51.000000000 +0200
  2. +++ strace-4.8/time.c 2013-08-14 08:52:00.000000000 +0200
  3. @@ -774,7 +774,11 @@ printsigevent(struct tcb *tcp, long arg)
  4. /* _pad[0] is the _tid field which might not be
  5. present in the userlevel definition of the
  6. struct. */
  7. +#if defined(__GLIBC__) || defined(__UCLIBC__)
  8. tprintf("{%d}", sev._sigev_un._pad[0]);
  9. +#else
  10. + ;
  11. +#endif
  12. else if (sev.sigev_notify == SIGEV_THREAD)
  13. tprintf("{%p, %p}", sev.sigev_notify_function,
  14. sev.sigev_notify_attributes);