]> 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)
committerJim Meyering <meyering@meta.com>
Wed, 7 Jun 2023 03:59:52 +0000 (20:59 -0700)
* top/maint.mk (sc_prohibit_xalloc_without_use) [_xa1]:
Regenerate using the command listed in the comment.

ChangeLog
top/maint.mk

index 57780d3fec48d05fddf4079fbffdf57af24b3ea9..4bbdb9ccf389e53acc1dd723169c9f53c2331e06 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>
 
        propername: pacify po_check
index 4f5729fac135fbc865a482b14d4d9c7f15f1aa6c..12004f9be1af6727b0410d67bdfea76def58daa9 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' \