From: Francis Dupont Date: Sat, 28 Feb 2015 00:56:29 +0000 (+0100) Subject: [master] spelling X-Git-Tag: trac3733_base~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd985988768f0f02118e1654926dfab77bcc4c83;p=thirdparty%2Fkea.git [master] spelling --- diff --git a/src/lib/util/process_spawn.cc b/src/lib/util/process_spawn.cc index c1cb83436a..89c6358e8b 100644 --- a/src/lib/util/process_spawn.cc +++ b/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; diff --git a/src/lib/util/process_spawn.h b/src/lib/util/process_spawn.h index a5f593c2d2..3b199dce51 100644 --- a/src/lib/util/process_spawn.h +++ b/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. ///