Browse Source

[master] spelling

Francis Dupont 10 years ago
parent
commit
bd98598876
2 changed files with 4 additions and 4 deletions
  1. 2 2
      src/lib/util/process_spawn.cc
  2. 2 2
      src/lib/util/process_spawn.h

+ 2 - 2
src/lib/util/process_spawn.cc

@@ -135,7 +135,7 @@ ProcessSpawnImpl::ProcessSpawnImpl(const std::string& executable,
     // is received.
     signals_->setOnReceiptHandler(boost::bind(&ProcessSpawnImpl::waitForProcess,
                                               this, _1));
-    // Convertion of the arguments to the C-style array we start by setting
+    // Conversion of the arguments to the C-style array we start by setting
     // all pointers within an array to NULL to indicate that they haven't
     // been allocated yet.
     memset(args_, 0, (args.size() + 2) * sizeof(char*));
@@ -246,7 +246,7 @@ ProcessSpawnImpl::waitForProcess(int signum) {
         int status = 0;
         pid_t pid = waitpid(-1, &status, 0);
         if (pid > 0) {
-            /// @todo Check that the terminatin process was started
+            /// @todo Check that the terminating process was started
             /// by our instance of ProcessSpawn and only handle it
             /// if it was.
             process_status_[pid] = status;

+ 2 - 2
src/lib/util/process_spawn.h

@@ -74,11 +74,11 @@ public:
 
     /// @brief Spawn the new process.
     ///
-    /// This method forks the current process and execues the specified
+    /// This method forks the current process and executes the specified
     /// binary with arguments within the child process.
     ///
     /// The child process will return EXIT_FAILURE if the method was unable
-    /// to start the exuctable, e.g. as a result of insufficient permissions
+    /// to start the executable, e.g. as a result of insufficient permissions
     /// or when the executable does not exist. If the process ends successfully
     /// the EXIT_SUCCESS is returned.
     ///