You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mp...@apache.org on 2016/03/18 19:20:43 UTC
mesos git commit: Fixed formatting issues in `shell.hpp`.
Repository: mesos
Updated Branches:
refs/heads/master 31e315cf2 -> cdc381aac
Fixed formatting issues in `shell.hpp`.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/cdc381aa
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/cdc381aa
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/cdc381aa
Branch: refs/heads/master
Commit: cdc381aac7e70f514a2693d409d216b86322858b
Parents: 31e315c
Author: Michael Park <mp...@apache.org>
Authored: Fri Mar 18 14:19:44 2016 -0400
Committer: Michael Park <mp...@apache.org>
Committed: Fri Mar 18 14:19:45 2016 -0400
----------------------------------------------------------------------
.../3rdparty/stout/include/stout/os/posix/shell.hpp | 8 ++++----
.../3rdparty/stout/include/stout/os/windows/shell.hpp | 10 ++++++----
2 files changed, 10 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/cdc381aa/3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/shell.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/shell.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/shell.hpp
index 1169815..b786d47 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/shell.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/shell.hpp
@@ -32,10 +32,10 @@ namespace os {
namespace Shell {
-// Canonical constants used as platform-dependent args to `exec` calls.
-// name() is the command name, arg0() is the first argument received
-// by the callee, usualy the command name and arg1() is the second
-// command argument received by the callee.
+ // Canonical constants used as platform-dependent args to `exec` calls.
+ // `name` is the command name, `arg0` is the first argument received
+ // by the callee, usually the command name and `arg1` is the second
+ // command argument received by the callee.
constexpr const char* name = "sh";
constexpr const char* arg0 = "sh";
http://git-wip-us.apache.org/repos/asf/mesos/blob/cdc381aa/3rdparty/libprocess/3rdparty/stout/include/stout/os/windows/shell.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/os/windows/shell.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/os/windows/shell.hpp
index 18a9784..18f038f 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/os/windows/shell.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/os/windows/shell.hpp
@@ -24,14 +24,16 @@
namespace os {
namespace Shell {
-// Canonical constants used as platform-dependent args to `exec` calls.
-// name() is the command name, arg0() is the first argument received
-// by the callee, usualy the command name and arg1() is the second
-// command argument received by the callee.
+
+ // Canonical constants used as platform-dependent args to `exec` calls.
+ // `name` is the command name, `arg0` is the first argument received
+ // by the callee, usually the command name and `arg1` is the second
+ // command argument received by the callee.
constexpr const char* name = "sh";
constexpr const char* arg0 = "sh";
constexpr const char* arg1 = "-c";
+
} // namespace Shell {
// Runs a shell command formatted with varargs and return the return value