Skip to content

Commit bb375f5

Browse files
striezelKlemens Morgenstern
authored andcommitted
Fix several typos
1 parent c329e05 commit bb375f5

File tree

12 files changed

+20
-20
lines changed

12 files changed

+20
-20
lines changed

doc/configuration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ Boost process v2 can be configured in the following ways:
77
| Macro | Description
88

99
| `BOOST_PROCESS_V2_STANDALONE` | Build boost.process for standalone asio
10-
| `BOOST_PROCESS_USE_STD_FS` | Use std::filesystem instead of boost::filsystem
10+
| `BOOST_PROCESS_USE_STD_FS` | Use std::filesystem instead of boost::filesystem
1111
| `BOOST_PROCESS_V2_POSIX_FORCE_DISABLE_CLOSE_RANGE` | Disable usage of `close_range`.

doc/reference/bind_launcher.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ template<typename Launcher, typename ... Init>
99
auto bind_launcher(Launcher && launcher, Init && ... init);
1010
1111
// Calls bind_launcher with the default_launcher as the first parameter.
12-
// The new launcher with bound paramaters
12+
// The new launcher with bound parameters
1313
template<typename ... Init>
1414
auto bind_default_launcher(Init && ... init);
1515
----

doc/reference/environment.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ namespace environment
2525
* Windows treats keys as case-insensitive yet perserving. The char traits are made to reflect
2626
* that behaviour.
2727
*/
28-
tempalte<typename Char>
28+
template<typename Char>
2929
using key_char_traits = implementation_defined ;
3030
3131
// A char traits type that reflects the OS rules for string representing environment values.
3232
/* Can be an alias of std::char_traits. May only be defined for `char` and `wchar_t`.
3333
*/
34-
tempalte<typename Char>
34+
template<typename Char>
3535
using value_char_traits = implementation_defined ;
3636
3737
// The character type used by the environment. Either `char` or `wchar_t`.

doc/reference/process_handle.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[#process_handle]
33

44
A process handle is an unmanaged version of a process.
5-
This means it does not terminate the proces on destruction and
5+
This means it does not terminate the process on destruction and
66
will not keep track of the exit-code.
77

88
NOTE: that the exit code might be discovered early, during a call to `running`.

include/boost/process/v1/child.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ child::child(Args&&...args)
3939
typedef ::boost::process::v1::detail::api::pid_t pid_t;
4040

4141
#if defined(BOOST_PROCESS_DOXYGEN)
42-
/** The main class to hold a child process. It is simliar to [std::thread](http://en.cppreference.com/w/cpp/thread/thread),
42+
/** The main class to hold a child process. It is similar to [std::thread](http://en.cppreference.com/w/cpp/thread/thread),
4343
* in that it has a join and detach function.
4444
*
4545
* @attention The destructor will call terminate on the process if not joined or detached without any warning.

include/boost/process/v1/detail/windows/environment.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ basic_environment_impl<Char>::basic_environment_impl(const native_environment_im
222222
while ((*p != null_char<Char>()) || (*(p+1) != null_char<Char>()))
223223
p++;
224224
p++; //pointing to the second nullchar
225-
p++; //to get the pointer behing the second nullchar, so it's end.
225+
p++; //to get the pointer behind the second nullchar, so it's end.
226226

227227
this->_data.assign(beg, p);
228228
this->reload();

include/boost/process/v1/environment.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ class basic_native_environment : public basic_environment_impl<Char, detail::api
627627
using base_type::operator=;
628628
};
629629

630-
///Type definition to hold a seperate environment.
630+
///Type definition to hold a separate environment.
631631
template<typename Char>
632632
class basic_environment : public basic_environment_impl<Char, detail::api::basic_environment_impl>
633633
{
@@ -646,10 +646,10 @@ typedef basic_native_environment<char> native_environment;
646646
typedef basic_native_environment<wchar_t> wnative_environment;
647647

648648
#if !defined(BOOST_NO_ANSI_APIS)
649-
///Type definition to hold a seperate environment.
649+
///Type definition to hold a separate environment.
650650
typedef basic_environment<char> environment;
651651
#endif
652-
///Type definition to hold a seperate environment.
652+
///Type definition to hold a separate environment.
653653
typedef basic_environment<wchar_t> wenvironment;
654654

655655
}}
@@ -673,10 +673,10 @@ inline int get_id() { return ::boost::process::v1::detail::a
673673
///Get the native handle of the current process.
674674
inline native_handle_type native_handle() { return ::boost::process::v1::detail::api::native_handle();}
675675
#if !defined(BOOST_NO_ANSI_APIS)
676-
///Get the enviroment of the current process.
676+
///Get the environment of the current process.
677677
inline native_environment environment() { return ::boost::process::v1:: native_environment(); }
678678
#endif
679-
///Get the enviroment of the current process.
679+
///Get the environment of the current process.
680680
inline wnative_environment wenvironment() { return ::boost::process::v1::wnative_environment(); }
681681
///Get the path environment variable of the current process runs.
682682
inline std::vector<boost::process::v1::filesystem::path> path()

include/boost/process/v1/extend.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ struct handler
124124
template <class Executor>
125125
void on_setup(Executor&) const {}
126126

127-
/** This function is invoked if an error occured while trying to launch the process.
127+
/** This function is invoked if an error occurred while trying to launch the process.
128128
* \note It is not required to be const.
129129
*/
130130
template <class Executor>
@@ -136,7 +136,7 @@ struct handler
136136
template <class Executor>
137137
void on_success(Executor&) const {}
138138

139-
/**This function is invoked if an error occured during the call of `fork`.
139+
/**This function is invoked if an error occurred during the call of `fork`.
140140
* \note This function will only be called on posix.
141141
*/
142142
template<typename Executor>
@@ -335,7 +335,7 @@ struct windows_executor
335335
void set_startup_info_ex();
336336
///This element is an instance or a reference (if \ref startup_info_ex exists) to the [startup-info](https://msdn.microsoft.com/en-us/library/windows/desktop/ms686331.aspx) for the process.
337337
startup_info_t startup_info;
338-
///This element is the instance of the [extended startup-info](https://msdn.microsoft.com/de-de/library/windows/desktop/ms686329.aspx). It is only available with a winapi-version equal or highter than 6.
338+
///This element is the instance of the [extended startup-info](https://msdn.microsoft.com/de-de/library/windows/desktop/ms686329.aspx). It is only available with a winapi-version equal or higher than 6.
339339
startup_info_ex_t startup_info_ex;
340340
};
341341

include/boost/process/v2/environment.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ namespace environment
4343
* Windows treats keys as case-insensitive yet perserving. The char traits are made to reflect
4444
* that behaviour.
4545
*/
46-
tempalte<typename Char>
46+
template<typename Char>
4747
using key_char_traits = implementation_defined ;
4848

4949
/// A char traits type that reflects the OS rules for string representing environment values.
5050
/** Can be an alias of std::char_traits. May only be defined for `char` and `wchar_t`.
5151
*/
52-
tempalte<typename Char>
52+
template<typename Char>
5353
using value_char_traits = implementation_defined ;
5454

5555
/// The character type used by the environment. Either `char` or `wchar_t`.

include/boost/process/v2/process_handle.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ BOOST_PROCESS_V2_BEGIN_NAMESPACE
2626

2727
#if defined(GENERATING_DOCUMENTATION)
2828
/** A process handle is an unmanaged version of a process.
29-
* This means it does not terminate the proces on destruction and
29+
* This means it does not terminate the process on destruction and
3030
* will not keep track of the exit-code.
3131
*
3232
* Note that the exit code might be discovered early, during a call to `running`.

0 commit comments

Comments
 (0)