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.
Thanks for the report and patch. This relates to gnulib, so I've Cc'd that list. > *** 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