[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: Wed, 27 Mar 2024 11:27:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277863
--- Comment #11 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=7534109d13a6cdb22e78d9d4c0a0cd5efd323c45
commit 7534109d13a6cdb22e78d9d4c0a0cd5efd323c45
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2024-03-27 10:03:37 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-03-27 10:03:37 +0000
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
lib/libc/stdtime/ctime.3 | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.