bug-gnulib
[Top][All Lists]
Advanced

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

Re: gnulib - test-getcwd failure on Mac OS X


From: Pádraig Brady
Subject: Re: gnulib - test-getcwd failure on Mac OS X
Date: Tue, 16 Dec 2014 02:51:39 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 01/12/14 19:31, Pádraig Brady wrote:
> On 01/12/14 18:49, Assaf Gordon wrote:
>> Hello,
>>
>> On Nov 30, 2014, at 6:09, Pádraig Brady <address@hidden> wrote:
>>
>>> For context, gnulib-tests/test-getcwd.c is failing on Mac OS X with 
>>> exit(7)...
>>
>> I've tried forcing AT_FDCWD to zero in 'test-getcwd.c' on Mac-OS,
>> and it still fails with exit code 7, due to errno=2 (ENOENT).
>> So perhaps my initial guess about AT_FDCWD being the problem wasn't correct 
>> (at least it wasn't the only problem).
> 
> The replacement getcwd should be being used though
> which should not be giving the ENOENT.
> 
> We'd first have to confirm the replacement was being used,
> and if not why not.
> 
> If it is being used then we'd have to dig into why it's returning ENOENT.
> 
> I've asked for access to a remote OS X system,
> so fingers crossed I get that.

I just got access to remote mavericks and yosemite systems.

The attached should fix the test issue which impacts
darwin <= 13 (mavericks), though yosemite is OK as it has openat().

Pádraig.

Attachment: darwin-getcwd.patch
Description: Text Data


reply via email to

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