Oops, just saw you had already replied.

Cyril Roelandt <tipec...@gmail.com> skribis:

> In /usr/include/errno.h:
>
> /* The Hurd <bits/errno.h> defines `error_t' as an enumerated type so
>    that printing `error_t' values in the debugger shows the names.  We
>    might need this definition sometimes even if this file was included
>    before.  */
>
> Which explains your issue. I think this is more of a Nix or GNU
> bug.

guix-daemon.cc is from Guix, not from Nix.

> According to the GNU documentation
> (http://www.gnu.org/software/libc/manual/html_node/Argp-Parser-Functions.html#Argp-Parser-Functions),
> the parse_opt function is fine. Should we ask the Hurd people how they
> handle this ?

Yes, I think this is a bug in libc on GNU/Hurd because our parse_opt
function is perfectly valid per the libc manual.  Would you like to ping
bug-h...@gnu.org?  :-)

Ludo’.

Reply via email to