Repository: mesos
Updated Branches:
  refs/heads/master 5b12abb01 -> 8c4e5f190


Fixed typos in libprocess.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/22cc80ad
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/22cc80ad
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/22cc80ad

Branch: refs/heads/master
Commit: 22cc80ad71187afcc0846e777f354c11f095e38d
Parents: 5b12abb
Author: Neil Conway <[email protected]>
Authored: Wed Mar 29 14:12:36 2017 -0700
Committer: Neil Conway <[email protected]>
Committed: Wed Mar 29 14:12:36 2017 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/include/process/dispatch.hpp | 2 +-
 3rdparty/libprocess/include/process/future.hpp   | 2 +-
 3rdparty/libprocess/include/process/http.hpp     | 2 +-
 3rdparty/libprocess/include/process/socket.hpp   | 2 +-
 3rdparty/libprocess/include/process/timer.hpp    | 2 +-
 3rdparty/libprocess/src/http.cpp                 | 8 ++++----
 3rdparty/libprocess/src/io.cpp                   | 4 ++--
 3rdparty/libprocess/src/subprocess_windows.cpp   | 2 +-
 3rdparty/libprocess/src/tests/future_tests.cpp   | 2 +-
 9 files changed, 13 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/22cc80ad/3rdparty/libprocess/include/process/dispatch.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/include/process/dispatch.hpp 
b/3rdparty/libprocess/include/process/dispatch.hpp
index 1edaf8b..3a07938 100644
--- a/3rdparty/libprocess/include/process/dispatch.hpp
+++ b/3rdparty/libprocess/include/process/dispatch.hpp
@@ -48,7 +48,7 @@ namespace process {
 // routine itself creates a promise that is passed as an argument to a
 // partially applied 'dispatcher' function (defined below). The
 // dispatcher routines get passed to the actual process via an
-// internal routine called, not suprisingly, 'dispatch', defined
+// internal routine called, not surprisingly, 'dispatch', defined
 // below:
 
 namespace internal {

http://git-wip-us.apache.org/repos/asf/mesos/blob/22cc80ad/3rdparty/libprocess/include/process/future.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/include/process/future.hpp 
b/3rdparty/libprocess/include/process/future.hpp
index ec7ef22..cce9505 100644
--- a/3rdparty/libprocess/include/process/future.hpp
+++ b/3rdparty/libprocess/include/process/future.hpp
@@ -224,7 +224,7 @@ private:
         }));
   }
 
-  // This is the less prefered `onReady`, we prefer the `onReady` method which
+  // This is the less preferred `onReady`, we prefer the `onReady` method which
   // has `f` taking a `const T&` parameter. Unfortunately, to complicate
   // matters, if `F` is the result of a `std::bind` expression we need to 
SFINAE
   // out this version of `onReady` and force the use of the preferred `onReady`

http://git-wip-us.apache.org/repos/asf/mesos/blob/22cc80ad/3rdparty/libprocess/include/process/http.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/include/process/http.hpp 
b/3rdparty/libprocess/include/process/http.hpp
index 9b89d31..5c013ca 100644
--- a/3rdparty/libprocess/include/process/http.hpp
+++ b/3rdparty/libprocess/include/process/http.hpp
@@ -985,7 +985,7 @@ Future<Nothing> serve(
 // handler.
 //
 // Returns `Nothing` after serving has completed, either because (1) a
-// failure occured receiving requests or sending responses or (2) the
+// failure occurred receiving requests or sending responses or (2) the
 // HTTP connection was not persistent (i.e., a 'Connection: close'
 // header existed either on the request or the response) or (3)
 // serving was discarded.

http://git-wip-us.apache.org/repos/asf/mesos/blob/22cc80ad/3rdparty/libprocess/include/process/socket.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/include/process/socket.hpp 
b/3rdparty/libprocess/include/process/socket.hpp
index 47a2c9d..42287c1 100644
--- a/3rdparty/libprocess/include/process/socket.hpp
+++ b/3rdparty/libprocess/include/process/socket.hpp
@@ -234,7 +234,7 @@ protected:
  * An abstraction around a socket (file descriptor).
  *
  * Provides reference counting such that the socket is only closed
- * (and thus, has the possiblity of being reused) after there are no
+ * (and thus, has the possibility of being reused) after there are no
  * more references.
  */
 template <typename AddressType>

http://git-wip-us.apache.org/repos/asf/mesos/blob/22cc80ad/3rdparty/libprocess/include/process/timer.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/include/process/timer.hpp 
b/3rdparty/libprocess/include/process/timer.hpp
index 3dabb74..6df57f4 100644
--- a/3rdparty/libprocess/include/process/timer.hpp
+++ b/3rdparty/libprocess/include/process/timer.hpp
@@ -75,7 +75,7 @@ private:
   // there is one). We don't store a pointer to the process because we
   // can't dereference it since it might no longer be valid. (Instead,
   // the PID can be used internally to check if the process is still
-  // valid and get a refernce to it.)
+  // valid and get a reference to it.)
   process::UPID pid;
 
   lambda::function<void()> thunk;

http://git-wip-us.apache.org/repos/asf/mesos/blob/22cc80ad/3rdparty/libprocess/src/http.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/http.cpp b/3rdparty/libprocess/src/http.cpp
index e17ad22..9789607 100644
--- a/3rdparty/libprocess/src/http.cpp
+++ b/3rdparty/libprocess/src/http.cpp
@@ -206,7 +206,7 @@ Try<URL> URL::parse(const string& urlString)
   }
 
   // If path is specified in the URL, try to capture the host and path
-  // seperately.
+  // separately.
   string host = urlPath;
   string path = "/";
   if (pathPos != string::npos) {
@@ -1662,7 +1662,7 @@ Future<Nothing> stream(
     .then([=]() {
       return stream(socket, response.reader.get());
     })
-    // Regardless of whether `send` or `stream` completed succesfully
+    // Regardless of whether `send` or `stream` completed successfully
     // or failed we close the reader so any writers will be notified.
     .onAny([=]() mutable {
       response.reader->close();
@@ -1818,7 +1818,7 @@ Future<Nothing> serve(
         // Either:
         //
         //   (1) An EOF was received.
-        //   (2) A failure occured while receiving.
+        //   (2) A failure occurred while receiving.
         //   (3) Receiving was discarded (likely because serving was
         //       discarded).
         //
@@ -1842,7 +1842,7 @@ Future<Nothing> serve(
         //
         //   (1) HTTP connection is not meant to be persistent or
         //       there are no more items expected in the pipeline.
-        //   (2) A failure occured while sending.
+        //   (2) A failure occurred while sending.
         //   (3) Sending was discarded (likely because serving was
         //       discarded).
         //

http://git-wip-us.apache.org/repos/asf/mesos/blob/22cc80ad/3rdparty/libprocess/src/io.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/io.cpp b/3rdparty/libprocess/src/io.cpp
index a1e8da3..97f2b17 100644
--- a/3rdparty/libprocess/src/io.cpp
+++ b/3rdparty/libprocess/src/io.cpp
@@ -213,7 +213,7 @@ Future<string> read(int_fd fd)
   process::initialize();
 
   // Get our own copy of the file descriptor so that we're in control
-  // of the lifetime and don't crash if/when someone by accidently
+  // of the lifetime and don't crash if/when someone accidentally
   // closes the file descriptor before discarding this future. We can
   // also make sure it's non-blocking and will close-on-exec. Start by
   // checking we've got a "valid" file descriptor before dup'ing.
@@ -274,7 +274,7 @@ Future<Nothing> write(int_fd fd, const string& data)
   process::initialize();
 
   // Get our own copy of the file descriptor so that we're in control
-  // of the lifetime and don't crash if/when someone by accidently
+  // of the lifetime and don't crash if/when someone accidentally
   // closes the file descriptor before discarding this future. We can
   // also make sure it's non-blocking and will close-on-exec. Start by
   // checking we've got a "valid" file descriptor before dup'ing.

http://git-wip-us.apache.org/repos/asf/mesos/blob/22cc80ad/3rdparty/libprocess/src/subprocess_windows.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/subprocess_windows.cpp 
b/3rdparty/libprocess/src/subprocess_windows.cpp
index 839212b..cc71fbd 100644
--- a/3rdparty/libprocess/src/subprocess_windows.cpp
+++ b/3rdparty/libprocess/src/subprocess_windows.cpp
@@ -161,7 +161,7 @@ static Try<HANDLE> createOutputFile(const string& path)
 }  // namespace internal {
 
 // Opens an inheritable pipe[1] represented as a pair of file handles. On
-// success, the first handle returned recieves the 'read' handle of the pipe,
+// success, the first handle returned receives the 'read' handle of the pipe,
 // while the second receives the 'write' handle. The pipe handles can then be
 // passed to a child process, as exemplified in [2].
 //

http://git-wip-us.apache.org/repos/asf/mesos/blob/22cc80ad/3rdparty/libprocess/src/tests/future_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/src/tests/future_tests.cpp 
b/3rdparty/libprocess/src/tests/future_tests.cpp
index 2fc2bd4..f21361e 100644
--- a/3rdparty/libprocess/src/tests/future_tests.cpp
+++ b/3rdparty/libprocess/src/tests/future_tests.cpp
@@ -259,7 +259,7 @@ TEST(FutureTest, After2)
 
 
 // Verifies that a a future does not leak memory after calling
-// `after()`. This behavior ocurred because a future indirectly
+// `after()`. This behavior occurred because a future indirectly
 // kept a reference counted pointer to itself.
 TEST(FutureTest, After3)
 {

Reply via email to