Re: renameatu: Work around a GNU/Hurd bug.

2025-01-19 Thread Collin Funk
Hi Bruno, Bruno Haible writes: > Thanks. Let me tweak the configure test: > - It is confusing that the test has an open file descriptor to the file > being renamed. > - It is useful for the test to return a bit mask, instead of having > two 'return 1;' cases. Namely, if the test fail

Re: attribute: Add note about ongoing standardization of some attributes

2025-01-19 Thread Jₑₙₛ Gustedt
Hello Bruno, (please use this email address, here) On Sun, 19 Jan 2025 10:58:31 +0100, Bruno Haible wrote: > Also noteworthy is that in section 1 of this paper, the motivation > is to make REPRODUCIBLE equivalent to PURE, and UNSEQUENCED > equivalent to CONST, but the proposed changes in section

attribute: Add note about ongoing standardization of some attributes

2025-01-19 Thread Bruno Haible via Gnulib discussion list
Hi, Just noticed the WG14 paper . It means that we need to hold our breath before recommending to use the REPRODUCIBLE or UNSEQUENCED attributes, because the meanings of these attributes may still change. Also noteworthy is that in secti

Re: renameatu: Work around a GNU/Hurd bug.

2025-01-19 Thread Bruno Haible via Gnulib discussion list
Collin Funk wrote: > The renameatu and rename tests fail on GNU/Hurd since renameat2 on that > platform does not properly handle trailing slashes. I've reported that > bug with a test case [1]. > > Applied the attached patch which adds a configure check and documents > the bug. Thanks. Let me twe

Re: [PATCH] flexmember: port to IBM XL C 16.1

2025-01-19 Thread Bruno Haible via Gnulib discussion list
Paul Eggert wrote: > diff --git a/lib/flexmember.h b/lib/flexmember.h > index 15ee4f5e28..0168af0eca 100644 > --- a/lib/flexmember.h > +++ b/lib/flexmember.h > @@ -32,7 +32,7 @@ > safe in practice even if FLEXIBLE_ARRAY_MEMBER is 1. > On newer platforms, use _Alignof to get a tighter bound.