Hi Paul, Paul Eggert <[email protected]> skribis:
> - if (GETID_MAY_FAIL && euid == -1 && !use_real
> + if (euid < 0 && !use_real
> && !just_group && !just_group_list && !just_context)
> error (EXIT_FAILURE, errno, _("cannot get effective UID"));
On GNU/Hurd, no error would ever be raised (since uid_t is unsigned),
which defeats the purpose of the patch initially proposed.
Thanks,
Ludo’.
