On Fri, Jun 9, 2023 at 3:39 AM Pádraig Brady <p...@draigbrady.com> wrote: > On 07/06/2023 05:34, Jim Meyering wrote: > > I noticed some syntax-check failures in diffutils. > > Its uses of relatively new xinmalloc and xpmalloc functions triggered a > > "make syntax-check" failure claiming that xalloc.h need not be included, > > because none of its (old list) functions was used. This updates the regex > > to match the current list of functions. > > > > I expect to regenerate other syntax-checked header regexps > > and may find time to automate the update process. > > I think this misses xalloc_die due to the "extern" > adjustments in gnulib 3801e9bb67b. > It seems that the perl regexps in the comment need to be adjusted > to cater for the commented /*extern*/
Still had to cater to _Noreturn (but Paul just removed that /*extern*/), and pushed the attached:
gnulib-syntax-check-alloc-die.diff
Description: Binary data