summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--top/maint.mk2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c036a5697..d59716db06 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-01-28 Pádraig Brady <P@draigBrady.com>
+
+ maintainer-makefile: fix sc_error_message_uppercase false failure
+ * top/maint.mk (sc_error_message_uppercase): Don't trigger for
+ any of the PRI... defines.
+
2022-01-27 Paul Eggert <eggert@cs.ucla.edu>
alignalloc: work around AddressSanitizer bug
diff --git a/top/maint.mk b/top/maint.mk
index 344acb2af6..92cef425cf 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -473,7 +473,7 @@ sc_error_message_uppercase:
@$(VC_LIST_EXCEPT) \
| xargs $(GREP) -nEA2 '[^rp]error *\(' /dev/null \
| $(GREP) -E '"[A-Z]' \
- | $(GREP) -vE '"FATAL|"WARNING|"Java|"C#|PRIuMAX' \
+ | $(GREP) -vE '"FATAL|"WARNING|"Java|"C#|"PRI' \
&& { echo '$(ME): found capitalized error message' 1>&2; \
exit 1; } \
|| :