hrev51100 adds 1 changeset to branch 'master'
old head: 302f451214b6249a512a40b90dd47bd57f1dcccb
new head: a5d208c7d692263626f4eb56f41f494a5a924915
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=a5d208c7d692+%5E302f451214b6
----------------------------------------------------------------------------
a5d208c7d692: libroot: abort() should behave like a crash, not just a 'failure'
exit.
Calling debugger() means that the crash dialog will be shown, and so
users will not be left wondering why an app just spontenously disappeared.
[ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev51100
Commit: a5d208c7d692263626f4eb56f41f494a5a924915
URL: http://cgit.haiku-os.org/haiku/commit/?id=a5d208c7d692
Author: Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date: Fri Apr 14 20:07:02 2017 UTC
----------------------------------------------------------------------------
1 file changed, 1 insertion(+), 1 deletion(-)
src/system/libroot/posix/stdlib/exit.cpp | 2 +-
----------------------------------------------------------------------------
diff --git a/src/system/libroot/posix/stdlib/exit.cpp
b/src/system/libroot/posix/stdlib/exit.cpp
index 9d11b66..9fba1eb 100644
--- a/src/system/libroot/posix/stdlib/exit.cpp
+++ b/src/system/libroot/posix/stdlib/exit.cpp
@@ -289,7 +289,7 @@ abort()
fprintf(stderr, "Abort\n");
raise(SIGABRT);
- exit(EXIT_FAILURE);
+ debugger("abort() called");
}