[Bug 277863] Possible regression in mktime(3)
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 277863] Possible regression in mktime(3)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Apr 2024 11:39:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277863
--- Comment #13 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=662dc74155ada993513a08190032710cf224e47f
commit 662dc74155ada993513a08190032710cf224e47f
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2023-04-26 09:46:41 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-04-04 09:51:02 +0000
tzcode: Clean up the ctime(3) manual page.
MFC after: 3 weeks
Sponsored by: Klara, Inc.
Reviewed by: pauamma_gundo.com
Differential Revision: https://reviews.freebsd.org/D39714
(cherry picked from commit 6f3c2f41b18b9a7a8feb3c50254a21db2d9908fd)
libc: Improve description of mktime() / timegm().
* Mention that mktime() and timegm() set errno on failure.
* Correctly determining whether mktime() / timegm() succeeded with
arbitrary input (where -1 can be a valid result) is non-trivial.
Document the recommended procedure.
PR: 277863
MFC after: 1 week
Reviewed by: pauamma_gundo.com, gbe
Differential Revision: https://reviews.freebsd.org/D44503
(cherry picked from commit 7534109d13a6cdb22e78d9d4c0a0cd5efd323c45)
lib/libc/stdtime/ctime.3 | 207 ++++++++++++++++++++++++-----------------------
1 file changed, 104 insertions(+), 103 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.