Re: uses of xinmalloc and xpmalloc triggered make syntax-check failure

2023-06-09 Thread Bruno Haible
Paul Eggert wrote: > It's simpler to omit the /*extern*/ as it's just noise > in that context. I installed the attached. top/maint.mk line 604 still does not catch 'xalloc_die'. With this patch, it should do so. 2023-06-09 Bruno Haible maint.mk: Regenerate regex to include xalloc_d

Re: uses of xinmalloc and xpmalloc triggered make syntax-check failure

2023-06-09 Thread Jim Meyering
On Fri, Jun 9, 2023 at 3:39 AM Pádraig Brady 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 inclu

Re: uses of xinmalloc and xpmalloc triggered make syntax-check failure

2023-06-09 Thread Paul Eggert
On 2023-06-09 03:38, Pádraig Brady wrote: 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*/ Let's not bother. It's simpler to omit the /*extern*/ as it's

Re: uses of xinmalloc and xpmalloc triggered make syntax-check failure

2023-06-09 Thread Pádraig Brady
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 upda

Re: uses of xinmalloc and xpmalloc triggered make syntax-check failure

2023-06-07 Thread Bruno Haible
Hi Jim, > 'print Regexp::Assemble->new(file => "/dev/stdin")->as_string' Thanks. The README at https://github.com/ronsavage/Regexp-Assemble is nice to read. Bruno

Re: uses of xinmalloc and xpmalloc triggered make syntax-check failure

2023-06-07 Thread Jim Meyering
On Wed, Jun 7, 2023 at 1:38 AM Bruno Haible wrote: > Jim Meyering wrote: > > regenerate regex to reflect new functions in xalloc.h > > How did you do that? By hand, or using some of the techniques from [1] or [2]? Hi Bruno, the comments just above include the commands I ran to create the resultin

Re: uses of xinmalloc and xpmalloc triggered make syntax-check failure

2023-06-07 Thread Bruno Haible
Jim Meyering wrote: > regenerate regex to reflect new functions in xalloc.h How did you do that? By hand, or using some of the techniques from [1] or [2]? Just curious. Bruno [1] https://stackoverflow.com/questions/7432830/ [2] https://cstheory.stackexchange.com/questions/16860/