You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2016/03/26 00:34:33 UTC

[2/3] mesos git commit: Fixed rmdir comment for FTS_SLNONE as per coding guidelines.

Fixed rmdir comment for FTS_SLNONE as per coding guidelines.

Review: https://reviews.apache.org/r/45003/


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

Branch: refs/heads/master
Commit: ffe147f1d49a19573e385e7e77fa38305074754a
Parents: d325293
Author: Jojy Varghese <jo...@mesosphere.io>
Authored: Fri Mar 25 16:34:03 2016 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Fri Mar 25 16:34:03 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/ffe147f1/3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/rmdir.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/rmdir.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/rmdir.hpp
index b7b4bd3..44a59b8 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/rmdir.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/rmdir.hpp
@@ -69,8 +69,8 @@ inline Try<Nothing> rmdir(const std::string& directory, bool recursive = true)
         case FTS_DEFAULT:
         case FTS_F:
         case FTS_SL:
-        // `FTS_SLNONE` should never be the case as we dont set
-        // FTS_COMFOLLOW. Adding here for completion.
+        // `FTS_SLNONE` should never be the case as we don't set
+        // `FTS_COMFOLLOW` or `FTS_LOGICAL`. Adding here for completion.
         case FTS_SLNONE:
           if (::unlink(node->fts_path) < 0 && errno != ENOENT) {
             Error error = ErrnoError();