bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple issues on GNU/hurd


From: Pádraig Brady
Subject: Re: Multiple issues on GNU/hurd
Date: Thu, 7 Jan 2016 16:37:43 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 03/01/16 11:27, James Youngman wrote:
> 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
>   {
> ...
> 

While that's logically correct I think,
I don't think it's the issue as findutils
doesn't define GNULIB_SUPPORT_ONLY_AT_FDCWD
(emacs doesn't even use that define anymore).

thanks,
Pádraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]