From 0e340bafbc58906e918bcb3bcd699e3f72275702 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 6 Jun 2023 20:49:22 -0700 Subject: [PATCH] maint.mk: regenerate regex to reflect new functions in xalloc.h * top/maint.mk (sc_prohibit_xalloc_without_use) [_xa1]: Regenerate using the command listed in the comment. --- ChangeLog | 6 ++++++ top/maint.mk | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index df796ee9ce..e582dc1f17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2023-06-06 Jim Meyering + + maint.mk: regenerate regex to reflect new functions in xalloc.h + * top/maint.mk (sc_prohibit_xalloc_without_use) [_xa1]: + Regenerate using the command listed in the comment. + 2023-06-06 Paul Eggert Put "/" at end of .gitignore directory names diff --git a/top/maint.mk b/top/maint.mk index 44f3db9d9d..0c4fdedfb9 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -614,7 +614,7 @@ sc_prohibit_error_without_use: # 2) notice that "c(har)?|[mz]" is equivalent to the shorter and more readable # "char|[cmz]" # x(((2n?)?re|char|n(re|m)|[cmz])alloc|alloc_(oversized|die)|(mem|str)dup) -_xa1 = x(((2n?)?re|char|n(re|m)|[cmz])alloc|alloc_(oversized|die)|(mem|str)dup) +_xa1 = x(i(m(emdup0?|alloc)|realloc(array)?|([cz]|nm)alloc)|([pz]|c(har)?|2n?re|nm)alloc|realloc(array)?|m(alloc|emdup)|strdup) _xa2 = X([CZ]|N?M)ALLOC sc_prohibit_xalloc_without_use: @h='xalloc.h' \ -- 2.39.5