Subject: Bug report coreutils 8.11, i386-pc-solaris2.7

From: Andreas Stolcke <[email-masked]>
Date: Fri, 15 Apr 2011 15:35:23 -0700

On a i386-pc-solaris2.7 system, mktemp goes into an infinite loop.
The wrapper function definition for gettimeofday() is broken, so
the function keeps calling itself.

--Andreas

*** lib/gettimeofday.c.dist	Sun Mar 13 03:32:28 2011
--- lib/gettimeofday.c	Fri Apr 15 14:31:48 2011
***************
*** 102,108 ****
     causes problems.  */
  
  int
! gettimeofday (struct timeval *restrict tv, void *restrict tz)
  {
  #undef gettimeofday
  #if HAVE_GETTIMEOFDAY
--- 102,108 ----
     causes problems.  */
  
  int
! rpl_gettimeofday (struct timeval *restrict tv, void *restrict tz)
  {
  #undef gettimeofday
  #if HAVE_GETTIMEOFDAY