On Sat, Jan 2, 2016 at 1:51 PM, Pádraig Brady <[email protected]> wrote:
> On 02/01/16 13:38, Andreas Metzler wrote:
>> Hello,
>>
>> when trying to build GNU findutils on GNU/hurd multiple gnulib
>> testsuite errors have come up:
>>
>> (sid_hurd-i386-dchroot)ametzler@exodar:~/FIND/findutils-4.6.0/tests$
>> ./test-facc
>> essat
>> test-faccessat.c:36: assertion 'errno == EBADF' failed
>> Aborted
>
> Don't know about the above.
Shouldn't we allow ENOTSUP too, when GNULIB_SUPPORT_ONLY_AT_FDCWD is
#defined? Here's the code:
AT_FUNC_NAME (int fd, char const *file AT_FUNC_POST_FILE_PARAM_DECLS)
{
VALIDATE_FLAG (flag);
if (fd == AT_FDCWD || IS_ABSOLUTE_FILE_NAME (file))
return CALL_FUNC (file);
#ifdef GNULIB_SUPPORT_ONLY_AT_FDCWD
errno = ENOTSUP;
return FUNC_FAIL;
#else
{
...