[PATCH] libstdc++-v3: check for openat
Alexandre Oliva
oliva@adacore.com
Thu Jun 23 14:05:35 GMT 2022
On Jun 23, 2022, Jonathan Wakely <jwakely@redhat.com> wrote:
> On Thu, 23 Jun 2022 at 12:08, Alexandre Oliva <oliva@adacore.com> wrote:
>>
>> On Jun 22, 2022, Jonathan Wakely <jwakely@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>
More information about the Libstdc++
mailing list