Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Apr 2024 11:39:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 277863] Possible regression in mktime(3)
Message-ID:  <bug-277863-227-q1JxzHhS6y@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277863-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277863-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277863

--- Comment #12 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Dfdde01c5b44904e34ff3b003f446644de=
865fa21

commit fdde01c5b44904e34ff3b003f446644de865fa21
Author:     Dag-Erling Sm=C3=B8rgrav <des@FreeBSD.org>
AuthorDate: 2024-03-27 10:03:37 +0000
Commit:     Dag-Erling Sm=C3=B8rgrav <des@FreeBSD.org>
CommitDate: 2024-04-04 09:41:41 +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

    (cherry picked from commit 7534109d13a6cdb22e78d9d4c0a0cd5efd323c45)

 lib/libc/stdtime/ctime.3 | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277863-227-q1JxzHhS6y>