mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject [2/2] mesos git commit: Explicitly inform the compiler of a function pointer.
Date Tue, 07 Jul 2015 13:32:41 GMT
Explicitly inform the compiler of a function pointer.


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

Branch: refs/heads/master
Commit: 35ddcf066c8aef3fac8b2678258152a92b167176
Parents: 5ff52b6
Author: Benjamin Hindman <benjamin.hindman@gmail.com>
Authored: Tue Jul 7 06:29:02 2015 -0700
Committer: Benjamin Hindman <benjamin.hindman@gmail.com>
Committed: Tue Jul 7 06:32:12 2015 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/35ddcf06/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp b/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp
index 4a01d94..d7d4552 100644
--- a/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp
+++ b/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp
@@ -537,10 +537,10 @@ void dosetsid(void)
 TEST_F(OsTest, Killtree)
 {
   Try<ProcessTree> tree =
-    Fork(dosetsid,                         // Child.
+    Fork(&dosetsid,                        // Child.
          Fork(None(),                      // Grandchild.
               Fork(None(),                 // Great-grandchild.
-                   Fork(dosetsid,          // Great-great-granchild.
+                   Fork(&dosetsid,         // Great-great-granchild.
                         Exec("sleep 10")),
                    Exec("sleep 10")),
               Exec("exit 0")),
@@ -660,7 +660,7 @@ TEST_F(OsTest, Killtree)
 TEST_F(OsTest, KilltreeNoRoot)
 {
   Try<ProcessTree> tree =
-    Fork(dosetsid,        // Child.
+    Fork(&dosetsid,       // Child.
          Fork(None(),     // Grandchild.
               Fork(None(),
                    Exec("sleep 100")),


Mime
View raw message