From 93551862a18965bcee0c883c54807e8726e2f50f Mon Sep 17 00:00:00 2001 From: Ben Woosley Date: Wed, 12 Feb 2020 12:28:26 -0500 Subject: Replace use of boost::trim use with locale-independent TrimString --- test/lint/lint-locale-dependence.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'test') diff --git a/test/lint/lint-locale-dependence.sh b/test/lint/lint-locale-dependence.sh index 737d35a397..3ac2d10959 100755 --- a/test/lint/lint-locale-dependence.sh +++ b/test/lint/lint-locale-dependence.sh @@ -42,7 +42,6 @@ KNOWN_VIOLATIONS=( "src/bitcoin-tx.cpp.*trim_right" "src/dbwrapper.cpp.*stoul" "src/dbwrapper.cpp:.*vsnprintf" - "src/httprpc.cpp.*trim" "src/node/blockstorage.cpp:.*atoi" "src/qt/rpcconsole.cpp:.*atoi" "src/rest.cpp:.*strtol" -- cgit v1.2.3 From 4bf18b089e1bb1f3ab513cbdf6674bd1074f4621 Mon Sep 17 00:00:00 2001 From: Ben Woosley Date: Wed, 12 Feb 2020 12:33:37 -0500 Subject: Replace use of boost::trim_right with locale-independent TrimString Note the only use of readStdin is fed to DecodeHexTx, which fails in IsHex on non-hex characters as recorded in p_util_hexdigit. --- test/lint/lint-locale-dependence.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'test') diff --git a/test/lint/lint-locale-dependence.sh b/test/lint/lint-locale-dependence.sh index 3ac2d10959..d6312270e7 100755 --- a/test/lint/lint-locale-dependence.sh +++ b/test/lint/lint-locale-dependence.sh @@ -39,7 +39,6 @@ export LC_ALL=C KNOWN_VIOLATIONS=( "src/bitcoin-tx.cpp.*stoul" - "src/bitcoin-tx.cpp.*trim_right" "src/dbwrapper.cpp.*stoul" "src/dbwrapper.cpp:.*vsnprintf" "src/node/blockstorage.cpp:.*atoi" -- cgit v1.2.3