aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStevenMia <flite@foxmail.com>2024-04-15 20:12:54 +0800
committerStevenMia <flite@foxmail.com>2024-04-15 20:12:54 +0800
commitb1ee4a557beb1b4c65eca81c567a4afa2a7a23ca (patch)
treea06b7b0aced4f768a779c2dd867b4cc3295076e0
parent3abee5eceb4158ccf455aff9d1d76461dfff5af0 (diff)
downloadbitcoin-b1ee4a557beb1b4c65eca81c567a4afa2a7a23ca.tar.xz
chore: fix some typos in comments
Signed-off-by: StevenMia <flite@foxmail.com>
-rw-r--r--depends/packages.md2
-rw-r--r--src/util/subprocess.hpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/depends/packages.md b/depends/packages.md
index 0ffdc66d48..7a7a42afa1 100644
--- a/depends/packages.md
+++ b/depends/packages.md
@@ -162,7 +162,7 @@ From the [Gentoo Wiki entry](https://wiki.gentoo.org/wiki/Project:Quality_Assura
> creates. This leads to massive overlinking, which is toxic to the Gentoo
> ecosystem, as it leads to a massive number of unnecessary rebuilds.
-Where possible, packages are built with Position Independant Code. Either using
+Where possible, packages are built with Position Independent Code. Either using
the Autotools `--with-pic` flag, or `CMAKE_POSITION_INDEPENDENT_CODE` with CMake.
## Secondary dependencies:
diff --git a/src/util/subprocess.hpp b/src/util/subprocess.hpp
index 0fcc9397ea..e660aa143d 100644
--- a/src/util/subprocess.hpp
+++ b/src/util/subprocess.hpp
@@ -969,8 +969,8 @@ namespace detail {
// Metaprogram for searching a type within
// a variadic parameter pack
// This is particularly required to do a compile time
-// checking of the arguments provided to 'check_ouput' function
-// wherein the user is not expected to provide an 'ouput' option.
+// checking of the arguments provided to 'check_output' function
+// wherein the user is not expected to provide an 'output' option.
template <typename... T> struct param_pack{};
@@ -997,7 +997,7 @@ struct has_type<F, param_pack<H,T...>> {
/*!
* A helper class to Popen class for setting
* options as provided in the Popen constructor
- * or in check_ouput arguments.
+ * or in check_output arguments.
* This design allows us to _not_ have any fixed position
* to any arguments and specify them in a way similar to what
* can be done in python.