On 01/12/14 18:49, Assaf Gordon wrote: > Hello, > > On Nov 30, 2014, at 6:09, Pádraig Brady <p...@draigbrady.com> 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. cheers, Pádraig.