Jim Meyering wrote:
> Is there an advantage to using the system getcwd for names
> shorter than PATH_MAX, as there is on Solaris and systems with
> a linux kernel? (i.e., ability to function in spite of restricted
> permissions on a parent directory)
Paul Eggert wrote:
> The first patch is simpler
On 11/20/11 11:27, Bruno Haible wrote:
> Either of the two following patches fixes it. Which one do you prefer?
The first patch is simpler and easier to maintain, so I'd go with it
unless there's a performance or correctness reason to go with the
second patch.
In Solaris, the system getcwd has s
Bruno Haible wrote:
> In a testdir for module getcwd, I get this test failure on AIX 5.1, 5.2, 5.3,
> 6.1, 7.1:
>
> FAIL: test-getcwd.sh
>
> On this platform, configure says:
>
> checking whether getcwd (NULL, 0) allocates memory for result... no
> checking for getcwd with POSIX signature...