]> Savannah Git Hosting - gnulib.git/commit
maint.mk: fix syntax-check for unnecessary hash.h header use
authorJim Meyering <meyering@fb.com>
Thu, 23 Jun 2022 15:12:44 +0000 (08:12 -0700)
committerJim Meyering <meyering@fb.com>
Thu, 23 Jun 2022 15:12:44 +0000 (08:12 -0700)
commitfc555c0a4bf23b3418e0e9cc3a0800172b716b90
tree02c189cddeb742a94ba2988063fa22c8363a118a
parent1ff0bd82ddbff534902d981f4679b594c367991c
maint.mk: fix syntax-check for unnecessary hash.h header use

* top/maint.mk (_hash_re): Correct the regexp. It had two problems:
- lacked the "hash_" prefix, so would match non-uses
- failed to detect uses of the hash_x?initialize functions
The former led to an excess/unneeded use of hash.h in coreutils' cut.c.
The latter would have led to a FP "not needed" report for copy.c.
ChangeLog
top/maint.mk