Repository: mesos
Updated Branches:
  refs/heads/master 1b593db33 -> ed1866bfb


Added a trailing newline to the ABORT() output.

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


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

Branch: refs/heads/master
Commit: 5ff236caf78ea49fbd456bd784c21e2cfcdbdd8a
Parents: 1b593db
Author: James Peach <[email protected]>
Authored: Wed Nov 4 15:02:24 2015 -0800
Committer: Benjamin Mahler <[email protected]>
Committed: Wed Nov 4 15:02:24 2015 -0800

----------------------------------------------------------------------
 3rdparty/libprocess/3rdparty/stout/include/stout/abort.hpp | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/5ff236ca/3rdparty/libprocess/3rdparty/stout/include/stout/abort.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/abort.hpp 
b/3rdparty/libprocess/3rdparty/stout/include/stout/abort.hpp
index 2b003d2..064e84e 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/abort.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/abort.hpp
@@ -50,6 +50,7 @@ inline NORETURN void _Abort(const char* prefix, const char* 
message)
   while (message != NULL &&
          write(STDERR_FILENO, message, strlen(message)) == -1 &&
          errno == EINTR);
+  while (write(STDERR_FILENO, "\n", 1) == -1 && errno == EINTR);
   abort();
 }
 

Reply via email to