Andreas Stolcke wrote:
> 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
This was resolved via this gnulib change:
http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=d236ccb95d1ebe92
so it'll be fixed in the next coreutils release.
I'm marking this issue as closed.