aboutsummaryrefslogtreecommitdiff
path: root/test/lint/lint-format-strings.sh
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-06-17 06:06:34 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-06-17 06:06:41 -0400
commit1a274bce4b6e726fb54983398d5aed3586214c73 (patch)
treedbea6bfd83b1818b43a5d0a246c7d2a341d52e4a /test/lint/lint-format-strings.sh
parentf3855781fdc52382b7ccfd0060623fa8ab1541b5 (diff)
parentfa8f195195945ce6258199af0461e3fbfbc1236d (diff)
downloadbitcoin-1a274bce4b6e726fb54983398d5aed3586214c73.tar.xz
Merge #16205: Refactor: Replace fprintf with tfm::format
fa8f195195 Replace remaining fprintf with tfm::format manually (MarcoFalke) fac03ec43a scripted-diff: Replace fprintf with tfm::format (MarcoFalke) fa72a64b90 tinyformat: Add doc to Bitcoin Core specific strprintf (MarcoFalke) Pull request description: This should be a refactor except in the cases where we use the wrong format specifier [1], in which case this patch is a bug fix. [1] : e.g. depends: Add libevent compatibility patch for windows #8730 ACKs for commit fa8f19: promag: ACK fa8f195195945ce6258199af0461e3fbfbc1236d. Ideally this should be rebased before merge. practicalswift: utACK fa8f195195945ce6258199af0461e3fbfbc1236d Empact: ACK https://github.com/bitcoin/bitcoin/pull/16205/commits/fa8f195195945ce6258199af0461e3fbfbc1236d laanwj: code review and lightly tested ACK fa8f195195945ce6258199af0461e3fbfbc1236d jonatack: ACK fa8f195195945ce6258199af0461e3fbfbc1236d from light code review, building, and running linter/unit tests/extended functional tests. Tree-SHA512: 65f648b0bc383e3266a5bdb4ad8c8a1908a719635d49e1cd321b91254be24dbc7e22290370178e29b98ddcb3fec0889de9cbae273c7140abc9793d849534a743
Diffstat (limited to 'test/lint/lint-format-strings.sh')
-rwxr-xr-xtest/lint/lint-format-strings.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lint/lint-format-strings.sh b/test/lint/lint-format-strings.sh
index c994ae3f4d..cb630c78ad 100755
--- a/test/lint/lint-format-strings.sh
+++ b/test/lint/lint-format-strings.sh
@@ -13,6 +13,7 @@ export LC_ALL=C
FUNCTION_NAMES_AND_NUMBER_OF_LEADING_ARGUMENTS=(
"FatalError,0"
"fprintf,1"
+ "tfm::format,1" # Assuming tfm::::format(std::ostream&, ...
"LogConnectFailure,1"
"LogPrint,1"
"LogPrintf,0"