]> Savannah Git Hosting - gnulib.git/commitdiff
maint.mk: regenerate regex to reflect new functions in xalloc.h
authorJim Meyering <meyering@meta.com>
Wed, 7 Jun 2023 03:49:22 +0000 (20:49 -0700)
committerBruno Haible <bruno@clisp.org>
Sun, 18 Jun 2023 06:38:45 +0000 (08:38 +0200)
* top/maint.mk (sc_prohibit_xalloc_without_use) [_xa1]:
Regenerate using the command listed in the comment.

ChangeLog
top/maint.mk

index df796ee9ce48b733830be16035ee74f631ced14c..e582dc1f178ec87b448aa39e8fa0f4a148852301 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-06-06  Jim Meyering  <meyering@meta.com>
+
+       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  <eggert@cs.ucla.edu>
 
        Put "/" at end of .gitignore directory names
index 44f3db9d9d786535e3b04fa81f810a6095929828..0c4fdedfb93020ad7de11dfd2cfe3b1c63793ae3 100644 (file)
@@ -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' \