public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug hurd/29545] New: strerrorname_np returns NULL for some defined errno values
@ 2022-09-03  9:00 samuel.thibault@ens-lyon.org
  2022-09-03  9:02 ` [Bug hurd/29545] " samuel.thibault@ens-lyon.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: samuel.thibault@ens-lyon.org @ 2022-09-03  9:00 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29545

            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 dot org
  Target Milestone: ---

Created attachment 14314
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14314&action=edit
testcase

From Bruno Haible <bruno@clisp.org>:

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-07-03 20:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-03  9:00 [Bug hurd/29545] New: strerrorname_np returns NULL for some defined errno values samuel.thibault@ens-lyon.org
2022-09-03  9:02 ` [Bug hurd/29545] " samuel.thibault@ens-lyon.org
2022-09-03 11:37 ` bruno at clisp dot org
2022-09-08  1:47 ` bruno at clisp dot org
2022-09-08  7:39 ` schwab@linux-m68k.org
2023-06-25 16:11 ` bruno at clisp dot org
2023-07-03 19:37 ` adhemerval.zanella at linaro dot org
2023-07-03 20:21 ` bruno at clisp dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).