From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 15A17385828D; Sat, 23 Jul 2022 02:45:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 15A17385828D From: "jscott at posteo dot net" To: glibc-bugs@sourceware.org Subject: [Bug time/29396] strftime should set errno to ERANGE on failure Date: Sat, 23 Jul 2022 02:45:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: time X-Bugzilla-Version: 2.36 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jscott at posteo dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_severity short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2022 02:45:04 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29396 John Scott changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |enhancement Summary|strftime should set errno |strftime should set errno |on failure |to ERANGE on failure --- Comment #1 from John Scott --- It was pointed out to me by [Rich Felker](https://www.openwall.com/lists/musl/2022/07/23/2) that strftime is required to succeed as long as the output buffer is large enough. Sorry for= the noise, I'm downgrading this to an enhancement --=20 You are receiving this mail because: You are on the CC list for the bug.=