Subject: bug#8507: closed (Re: bug#8507: Bug report coreutils 8.11, i386-pc-solaris2.7)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 24 Jul 2011 14:44:02 +0000

Your bug report

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

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
8507: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8507
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#8507: Bug report coreutils 8.11, i386-pc-solaris2.7
From: Jim Meyering <[email-masked]>
To: Andreas Stolcke <[email-masked]>
Cc: [email-masked]
Date: Sun, 24 Jul 2011 16:43:01 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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.

Subject: Bug report coreutils 8.11, i386-pc-solaris2.7
From: Andreas Stolcke <[email-masked]>
To: [email-masked]
Date: Fri, 15 Apr 2011 15:35:23 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

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