public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/15524] New: clock() behaves incorrectly on overflow
@ 2013-05-23 20:24 bugdal at aerifal dot cx
  2014-06-13 17:37 ` [Bug libc/15524] " fweimer at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugdal at aerifal dot cx @ 2013-05-23 20:24 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15524

             Bug #: 15524
           Summary: clock() behaves incorrectly on overflow
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: unassigned@sourceware.org
        ReportedBy: bugdal@aerifal.cx
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


According to the Austin Group interpretation for issue 686
(http://austingroupbugs.net/view.php?id=686), the current behavior of clock()
on 32-bit systems, wrapping when it overflows the range of clock_t, is
non-conforming to the requirements of ISO C, which require returning
(clock_t)-1 if the result is not representable.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-27 22:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-23 20:24 [Bug libc/15524] New: clock() behaves incorrectly on overflow bugdal at aerifal dot cx
2014-06-13 17:37 ` [Bug libc/15524] " fweimer at redhat dot com
2015-08-24 11:38 ` [Bug libc/15524] [DR#437] " jsm28 at gcc dot gnu.org
2015-08-27 22:15 ` [Bug time/15524] " jsm28 at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).