From b1ee4a557beb1b4c65eca81c567a4afa2a7a23ca Mon Sep 17 00:00:00 2001 From: StevenMia Date: Mon, 15 Apr 2024 20:12:54 +0800 Subject: [PATCH] chore: fix some typos in comments Signed-off-by: StevenMia --- depends/packages.md | 2 +- src/util/subprocess.hpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/depends/packages.md b/depends/packages.md index 0ffdc66d488..7a7a42afa10 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 0fcc9397ea7..e660aa143d2 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 struct param_pack{}; @@ -997,7 +997,7 @@ struct has_type> { /*! * 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.