diff options
author | Jim Meyering <meyering@fb.com> | 2021-08-25 01:34:27 -0700 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2021-08-25 08:45:39 -0700 |
commit | 88562dc9c756f9d85c4e7f7769dff1e86d7a7a95 (patch) | |
tree | 16ff70aa3b449fadbf0b2522aa4a34fcddade8a0 /cfg.mk | |
parent | c431893b96bf4dc3b3918a605387f1b0e3843242 (diff) | |
download | coreutils-88562dc9c756f9d85c4e7f7769dff1e86d7a7a95.tar.gz |
maint: avoid new syntax-check failure
find-mount-point.h rightly includes <stdlib.h> for its use
of _GL_ATTRIBUTE_DEALLOC_FREE, which uses free, yet that new
inclusion provoked a syntax-check failure. Exempt this header
file as we've done for others.
* cfg.mk (exclude_file_name_regexp--sc_system_h_headers):
Add find-mount-point.h to the regexp.
(sc_system_h_headers): Use grep -E, for a more readable regexp.
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -175,7 +175,7 @@ sc_system_h_headers: .re-list trap 'rc=$$?; rm -f .re-list; exit $$rc' 0; \ $(gl_trap_); \ grep -nE -f .re-list \ - $$($(VC_LIST_EXCEPT) | grep '^\($(srcdir)/\)\?src/') \ + $$($(VC_LIST_EXCEPT) | grep -E '^($(srcdir)/)?src/') \ && { echo '$(ME): the above are already included via system.h'\ 1>&2; exit 1; } || :; \ fi @@ -838,7 +838,7 @@ exclude_file_name_regexp--sc_bindtextdomain = \ exclude_file_name_regexp--sc_trailing_blank = \ ^(tests/pr/|gl/.*\.diff$$|man/help2man) exclude_file_name_regexp--sc_system_h_headers = \ - ^src/((die|system|copy)\.h|make-prime-list\.c)$$ + ^src/((die|system|copy|find-mount-point)\.h|make-prime-list\.c)$$ _src = (false|lbracket|ls-(dir|ls|vdir)|tac-pipe|uname-(arch|uname)) _gl_src = (xdecto.max|cl-strtold) |