[PATCH] Port __has_c_attribute to strict C23

2022-12-21 Thread Paul Eggert
* m4/gnulib-common.m4 (_GL_HAS_C_ATTRIBUTE): Remove, as C23 says behavior is undefined if __has_c_attribute appears anywhere other than at the top level of an #if or #ifdef. All uses replaced by wordier invocations of __has_c_attribute. --- ChangeLog | 6 + m4/gnulib-common.m4 | 57

Re: Failing test: "test-posix_spawn-script". Race condition?

2022-12-21 Thread Eric Blake
On Tue, Dec 20, 2022 at 06:51:31PM -0500, Mitchell Dorrell wrote: > I'm compiling m4 1.4.19 on a dual-socket server with second-generation AMD > Epyc processors (128 cores total). I'm compiling using GCC 12.2.0. "make > -j128 check" fails, but "make check" succeeds. While troubleshooting, I > notic

[PATCH] asctime, ctime: deprecate

2022-12-21 Thread Paul Eggert
C23 deprecates asctime and ctime, so deprecate them in Gnulib too. * NEWS, doc/posix-functions/asctime.texi: * doc/posix-functions/ctime.texi: Mention this. * lib/time.in.h (ctime): Deprecate any ctime replacement. * modules/ctime: Now obsolete. --- ChangeLog| 9 +