]> 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:52:40 +0000 (08:52 +0200)
* top/maint.mk (sc_prohibit_xalloc_without_use) [_xa1]:
Regenerate using the command listed in the comment.

ChangeLog
top/maint.mk

index 6bd1b7eb2f083492ba39ecec6cdd62824f0ccb70..bce2c247d9ec3041475dd0d53936cc1a17665394 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 4844ac4da4ccd405ba4f64cdf07776894f2eeed2..6086cd34177ce87cde419018011ae6d01dfcf8e2 100644 (file)
@@ -2,7 +2,7 @@
 # This Makefile fragment tries to be general-purpose enough to be
 # used by many projects via the gnulib maintainer-makefile module.
 
-## Copyright (C) 2001-2022 Free Software Foundation, Inc.
+## Copyright (C) 2001-2023 Free Software Foundation, Inc.
 ##
 ## This program is free software: you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -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' \