This PR renames the header *.hpp
–> *.h
and adjusts the header guard name, which makes it available for processing by linters.
Fixed the following linter warning:
0The locale dependent function strerror(...) appears to be used:
1src/util/subprocess.h: std::runtime_error( err_msg + ": " + std::strerror(err_code) )
2
3Unnecessary locale dependence can cause bugs that are very tricky to isolate and fix. Please avoid using locale-dependent functions if possible.
4
5Advice not applicable in this specific case? Add an exception by updating the ignore list in /bitcoin/test/lint/lint-locale-dependence.py
6^---- failure generated from lint-locale-dependence.py