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
* [Bug libc/15524] clock() behaves incorrectly on overflow
2013-05-23 20:24 [Bug libc/15524] New: clock() behaves incorrectly on overflow bugdal at aerifal dot cx
@ 2014-06-13 17:37 ` 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
2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 17:37 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=15524
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/15524] [DR#437] clock() behaves incorrectly on overflow
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 ` jsm28 at gcc dot gnu.org
2015-08-27 22:15 ` [Bug time/15524] " jsm28 at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-08-24 11:38 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=15524
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |SUSPENDED
Summary|clock() behaves incorrectly |[DR#437] clock() behaves
|on overflow |incorrectly on overflow
--- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
C11 DR#437 is still open, but the currently proposed TC says the return value
should be unspecified on overflow, so allowing existing widespread
implementation practice.
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1931.htm#dr_437
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug time/15524] [DR#437] clock() behaves incorrectly on overflow
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 ` jsm28 at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-08-27 22:15 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=15524
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|libc |time
--
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).