[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS-060720 compilation failure on Mac OS X 10.4, patch (dirfd)
From: |
Kevin Ryde |
Subject: |
Re: CVS-060720 compilation failure on Mac OS X 10.4, patch (dirfd) |
Date: |
Tue, 25 Jul 2006 10:52:43 +1000 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Claes Wallin <address@hidden> writes:
>
> * test-suite/tests/dirfd.test:
> Since dirfd is used by readdir on platforms that have it, this test
> does an opendir and two consecutive readdirs, expecting "." and
> "..".
> Not sure if this works on non-posix platforms.
Yep, not sure about "." and "..", though I remember most unixy stuff
on DOS systems synthesising them in the bad old days. There's an
existing test in filesys.test when expects the root directory "/" to
be non-empty; it at least exercises the opendir/readdir/closedir
sequence.
Perhaps a test that created a long-named temporary file (in the
builddir) would be an idea. But might have to communicate the
NAME_MAX (or equivalent) size to the scheme level to do that
effectively.