[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple issues on GNU/hurd
From: |
James Youngman |
Subject: |
Re: Multiple issues on GNU/hurd |
Date: |
Sun, 3 Jan 2016 11:27:13 +0000 |
On Sat, Jan 2, 2016 at 1:51 PM, Pádraig Brady <address@hidden> 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)address@hidden:~/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
{
...