On Jun 23, 2022, Jonathan Wakely <jwak...@redhat.com> wrote: > On Thu, 23 Jun 2022 at 12:08, Alexandre Oliva <ol...@adacore.com> wrote: >> >> On Jun 22, 2022, Jonathan Wakely <jwak...@redhat.com> wrote: >> >> > There are other interactions between AT_CDCWD and ::openat not covered >> > by this patch. I this this also needs to check HAVE_OPENAT: >> >> Here's an updated version, tested with this additional change.
> Did this improve your test results for directory iterators? 'fraid the bad results I posted earlier today had this patch in. I can't tell whether it improved anything because I didn't save earlier results to compare. > In the unlikely even that the target has ::unlinkat but not ::openat c++config.h on the target says: /* #undef _GLIBCXX_HAVE_UNLINKAT */ Thanks for the concern, -- Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/ Free Software Activist GNU Toolchain Engineer Disinformation flourishes because many people care deeply about injustice but very few check the facts. Ask me about <https://stallmansupport.org>