From nobody Wed Mar 27 11:27:12 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V4PXL0vLyz5FHpC for ; Wed, 27 Mar 2024 11:27:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V4PXK65tbz4f8W for ; Wed, 27 Mar 2024 11:27:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711538833; a=rsa-sha256; cv=none; b=fCRJJeddD8Pbyh6GsyCXD6yckQDfHYmRcCcBGNf+ZIvoOey6QI6doQ3SlSRgx8c7X2EHjL 8ftUYbelSR0/4EvIXOxhE8cFvE4rLr75wwaaQbQY7maXQL4dkRhtMfhDv0U+jk3wf14XKK 8xEKJpJ1NoPqzFvuNCF0jJiZnpjjjP8Htj7Q3p/c3umpU1nXvN6hg8TfEbNX+KBXAITTlR bnfZOS7a3QqctOydI4NQA4racfz0gbhVTj/c6gPZ5s4ICPeuhTHLkhQ+6NtFGGK5DUbdmg Ra4maPthcpvM+UTFHa7dSgpDAgszgcscfT5GknPa+YXRuuxb3c/E3cxSIbl7qA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711538833; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=S/TauWgu3Ge9LDXiJ5sJ2VZEcBkdh52kX30AcBHhFOY=; b=HeXB+C1Q4JUIsYzM9pbbQzY4ifRYNB0Xs24cc62w8T9S8gE2xCGJBXiDin1dhxaytgPdnh n8nssoGUSh1Ag+K/LBjfQdikZkVqACUj4Wj+T316qMTe8z4hlE9aJUMByHPqiUSx1vupiS B56Z3DBjQQB0JOjqwFqlJGcUtwe3MqPsefPlrgAkg2zAeOoNtmacXyjG62XySJKQNp/kes iCyrrDrHOEmNxeNRib9NEN4YkcwQxypqRzkaKzz4+q+JNXNaZHVjoLFJsiqbTWtxufgsix FzVVVDCSo0HlawwY9OnT1typU4Q4GHSZBBzDmAXpBYpkvAaNhJ05jVS1icHI5g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V4PXK5gb9zhcT for ; Wed, 27 Mar 2024 11:27:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 42RBRDEl057892 for ; Wed, 27 Mar 2024 11:27:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42RBRD0n057891 for bugs@FreeBSD.org; Wed, 27 Mar 2024 11:27:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 277863] Possible regression in mktime(3) Date: Wed, 27 Mar 2024 11:27:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277863 --- Comment #11 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D7534109d13a6cdb22e78d9d4c0a0cd5ef= d323c45 commit 7534109d13a6cdb22e78d9d4c0a0cd5efd323c45 Author: Dag-Erling Sm=C3=B8rgrav AuthorDate: 2024-03-27 10:03:37 +0000 Commit: Dag-Erling Sm=C3=B8rgrav 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(-) --=20 You are receiving this mail because: You are the assignee for the bug.=