You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jo...@apache.org on 2016/03/11 18:15:45 UTC

mesos git commit: Stout: Fixed style issues in `os/posix/shell.hpp`.

Repository: mesos
Updated Branches:
  refs/heads/master ace12c097 -> 51bf7e2f3


Stout: Fixed style issues in `os/posix/shell.hpp`.


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

Branch: refs/heads/master
Commit: 51bf7e2f3b5ed1a95279ac19b18a7abdc51f82f8
Parents: ace12c0
Author: Joris Van Remoortere <jo...@gmail.com>
Authored: Fri Mar 11 12:15:06 2016 -0500
Committer: Joris Van Remoortere <jo...@gmail.com>
Committed: Fri Mar 11 12:15:06 2016 -0500

----------------------------------------------------------------------
 .../libprocess/3rdparty/stout/include/stout/os/posix/shell.hpp   | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/51bf7e2f/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 76af655..1169815 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/shell.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/shell.hpp
@@ -31,6 +31,7 @@
 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
@@ -39,6 +40,7 @@ namespace Shell {
   constexpr const char* name = "sh";
   constexpr const char* arg0 = "sh";
   constexpr const char* arg1 = "-c";
+
 } // namespace Shell {
 
 /**
@@ -112,6 +114,7 @@ Try<std::string> shell(const std::string& fmt, const T&... t)
   return stdout.str();
 }
 
+
 // Executes a command by calling "/bin/sh -c <command>", and returns
 // after the command has been completed. Returns 0 if succeeds, and
 // return -1 on error (e.g., fork/exec/waitpid failed). This function
@@ -141,6 +144,7 @@ inline int system(const std::string& command)
   }
 }
 
+
 template<typename... T>
 inline int execlp(const char* file, T... t)
 {