Fixed typos in stout.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/43ef2cd5 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/43ef2cd5 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/43ef2cd5 Branch: refs/heads/master Commit: 43ef2cd58a1e0d82f3835d7dc49b247e6fc849d0 Parents: 22cc80a Author: Neil Conway <[email protected]> Authored: Wed Mar 29 14:13:03 2017 -0700 Committer: Neil Conway <[email protected]> Committed: Wed Mar 29 14:13:03 2017 -0700 ---------------------------------------------------------------------- 3rdparty/stout/include/stout/check.hpp | 2 +- 3rdparty/stout/include/stout/os/posix/killtree.hpp | 2 +- 3rdparty/stout/include/stout/os/posix/socket.hpp | 2 +- 3rdparty/stout/include/stout/os/raw/environment.hpp | 2 +- 3rdparty/stout/include/stout/os/windows/killtree.hpp | 2 +- 3rdparty/stout/include/stout/os/windows/socket.hpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/43ef2cd5/3rdparty/stout/include/stout/check.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/stout/include/stout/check.hpp b/3rdparty/stout/include/stout/check.hpp index 6a98519..e3cabd4 100644 --- a/3rdparty/stout/include/stout/check.hpp +++ b/3rdparty/stout/include/stout/check.hpp @@ -27,7 +27,7 @@ #include <stout/some.hpp> #include <stout/try.hpp> -// A generic macro to faciliate definitions of CHECK_*, akin to CHECK. +// A generic macro to facilitate definitions of CHECK_*, akin to CHECK. // This appends the error if possible to the end of the log message, // so there's no need to append the error message explicitly. // To define a new CHECK_*, provide the name, the function that performs the http://git-wip-us.apache.org/repos/asf/mesos/blob/43ef2cd5/3rdparty/stout/include/stout/os/posix/killtree.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/stout/include/stout/os/posix/killtree.hpp b/3rdparty/stout/include/stout/os/posix/killtree.hpp index f47f0d8..9f18a48 100644 --- a/3rdparty/stout/include/stout/os/posix/killtree.hpp +++ b/3rdparty/stout/include/stout/os/posix/killtree.hpp @@ -49,7 +49,7 @@ inline Try<std::list<ProcessTree>> pstrees( // Note that if the process 'pid' has exited we'll signal the process // tree(s) rooted at pids in the group or session led by the process // if groups = true or sessions = true, respectively. -// Returns the process trees that were succesfully or unsuccessfully +// Returns the process trees that were successfully or unsuccessfully // signaled. Note that the process trees can be stringified. // TODO(benh): Allow excluding the root pid from stopping, killing, // and continuing so as to provide a means for expressing "kill all of http://git-wip-us.apache.org/repos/asf/mesos/blob/43ef2cd5/3rdparty/stout/include/stout/os/posix/socket.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/stout/include/stout/os/posix/socket.hpp b/3rdparty/stout/include/stout/os/posix/socket.hpp index 5a6c51d..927e7a1 100644 --- a/3rdparty/stout/include/stout/os/posix/socket.hpp +++ b/3rdparty/stout/include/stout/os/posix/socket.hpp @@ -29,7 +29,7 @@ using ::recv; using ::send; // The error indicates the last socket operation has been -// interupted, the operation can be restarted imediately. +// interupted, the operation can be restarted immediately. inline bool is_restartable_error(int error) { return (error == EINTR); http://git-wip-us.apache.org/repos/asf/mesos/blob/43ef2cd5/3rdparty/stout/include/stout/os/raw/environment.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/stout/include/stout/os/raw/environment.hpp b/3rdparty/stout/include/stout/os/raw/environment.hpp index b19dbb4..c7f889f 100644 --- a/3rdparty/stout/include/stout/os/raw/environment.hpp +++ b/3rdparty/stout/include/stout/os/raw/environment.hpp @@ -56,7 +56,7 @@ extern char** environ; // // NOTE: These functions were originally called `environment` and not `environ` // because on Windows, `environ` is a macro, and not an `extern char**` as it -// is in the POSIX standard. The existance of this macro on Windows makes it +// is in the POSIX standard. The existence of this macro on Windows makes it // impossible to use a function called `os::environ`. namespace os { namespace raw { http://git-wip-us.apache.org/repos/asf/mesos/blob/43ef2cd5/3rdparty/stout/include/stout/os/windows/killtree.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/stout/include/stout/os/windows/killtree.hpp b/3rdparty/stout/include/stout/os/windows/killtree.hpp index 2be2f8c..15b2faa 100644 --- a/3rdparty/stout/include/stout/os/windows/killtree.hpp +++ b/3rdparty/stout/include/stout/os/windows/killtree.hpp @@ -24,7 +24,7 @@ namespace os { // Terminate the process tree rooted at the specified pid. // Note that if the process 'pid' has exited we'll terminate the process // tree(s) rooted at pids. -// Returns the process trees that were succesfully or unsuccessfully +// Returns the process trees that were successfully or unsuccessfully // signaled. Note that the process trees can be stringified. inline Try<std::list<ProcessTree>> killtree( pid_t pid, http://git-wip-us.apache.org/repos/asf/mesos/blob/43ef2cd5/3rdparty/stout/include/stout/os/windows/socket.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/stout/include/stout/os/windows/socket.hpp b/3rdparty/stout/include/stout/os/windows/socket.hpp index 6eaf694..43f5436 100644 --- a/3rdparty/stout/include/stout/os/windows/socket.hpp +++ b/3rdparty/stout/include/stout/os/windows/socket.hpp @@ -93,7 +93,7 @@ inline bool wsa_cleanup() // The error indicates the last socket operation has been -// interupted, the operation can be restarted imediately. +// interupted, the operation can be restarted immediately. // The error will append on Windows only when the operation // is interupted using `WSACancelBlockingCall`. inline bool is_restartable_error(int error) { return (error == WSAEINTR); }
