From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D390E3858418; Sat, 3 Sep 2022 09:00:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D390E3858418 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1662195619; bh=KOfdf8jZEFIoNS9oCPZFaVJ0dVi+oeopE425YcYeyQU=; h=From:To:Subject:Date:From; b=fEEdoQV8Vx2EKX+Yl52GbI1F6/CLzY6uqgQDrkIsBf/K7nEhKyw0hkkzPDeHLDl8I NCRhek8cZz/eL+OzbqDnqwVnIdEqKse/+junX+tmL5QzL2UdWtaBCOtgBSytDbeHEm jyqLrI08w+lpGeQ0Bi8GLEcHN1eA5cd60eKEi89M= From: "samuel.thibault@ens-lyon.org" To: glibc-bugs@sourceware.org Subject: [Bug hurd/29545] New: strerrorname_np returns NULL for some defined errno values Date: Sat, 03 Sep 2022 09:00:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: hurd X-Bugzilla-Version: 2.34 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: samuel.thibault@ens-lyon.org X-Bugzilla-Status: NEW 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_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29545 Bug ID: 29545 Summary: strerrorname_np returns NULL for some defined errno values Product: glibc Version: 2.34 Status: NEW Severity: normal Priority: P2 Component: hurd Assignee: unassigned at sourceware dot org Reporter: samuel.thibault@ens-lyon.org CC: samuel.thibault@ens-lyon.org, tschwinge at sourceware d= ot org Target Milestone: --- Created attachment 14314 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14314&action=3Ded= it testcase >From Bruno Haible : The function strerrorname_np is supposed to return non-NULL for all defined errno values. https://www.gnu.org/software/libc/manual/html_node/Error-Messages.html On Hurd, for the errnos with names ED_* EKERN_* EMACH_* EMIG_* it returns NULL. How to reproduce: $ gcc -Wall foo.c $ ./a.out Seen on Debian GNU/Hurd, with glibc 2.34. --=20 You are receiving this mail because: You are on the CC list for the bug.=