GNU bug report logs - #8507
Bug report coreutils 8.11, i386-pc-solaris2.7

Previous Next

Package: coreutils;

Reported by: Andreas Stolcke <stolcke <at> speech.sri.com>

Date: Fri, 15 Apr 2011 22:36:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8507 in the body.
You can then email your comments to 8507 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8507; Package coreutils. (Fri, 15 Apr 2011 22:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Stolcke <stolcke <at> speech.sri.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Fri, 15 Apr 2011 22:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Stolcke <stolcke <at> speech.sri.com>
To: bug-coreutils <at> gnu.org
Subject: Bug report coreutils 8.11, i386-pc-solaris2.7
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




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#8507; Package coreutils. (Sat, 16 Apr 2011 10:19:02 GMT) Full text and rfc822 format available.

Message #8 received at 8507 <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Andreas Stolcke <stolcke <at> speech.sri.com>
Cc: bug-gnulib <at> gnu.org, 8507 <at> debbugs.gnu.org
Subject: Re: bug#8507: Bug report coreutils 8.11, i386-pc-solaris2.7
Date: Sat, 16 Apr 2011 12:18:22 +0200
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




Reply sent to Jim Meyering <jim <at> meyering.net>:
You have taken responsibility. (Sun, 24 Jul 2011 14:44:01 GMT) Full text and rfc822 format available.

Notification sent to Andreas Stolcke <stolcke <at> speech.sri.com>:
bug acknowledged by developer. (Sun, 24 Jul 2011 14:44:02 GMT) Full text and rfc822 format available.

Message #13 received at 8507-done <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Andreas Stolcke <stolcke <at> speech.sri.com>
Cc: 8507-done <at> debbugs.gnu.org
Subject: Re: bug#8507: Bug report coreutils 8.11, i386-pc-solaris2.7
Date: Sun, 24 Jul 2011 16:43:01 +0200
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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 22 Aug 2011 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 306 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.