summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-10 08:29:46 (GMT)
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-10 08:29:46 (GMT)
commitb9a13f4962333f08338b9839d1bd9151665ac8aa (patch)
treeede8a4b579633be0a65c242c85e261d0b7ba8851 /util.c
parenta2e497d5ede45bd4f4a57f494027020d7bd1733b (diff)
* thread_pthread.c (mutex_debug): use exit(EXIT_FAILURE) instad of
exit(1). * thread_pthread.c (add_signal_thread_list): ditto. * thread.c (rb_thread_call_with_gvl): ditto. * util.c (Bug): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 99532a1..d5cf670 100644
--- a/util.c
+++ b/util.c
@@ -837,7 +837,7 @@ ruby_getcwd(void)
#ifdef DEBUG
#include "stdio.h"
-#define Bug(x) {fprintf(stderr, "%s\n", (x)); exit(1);}
+#define Bug(x) {fprintf(stderr, "%s\n", (x)); exit(EXIT_FAILURE);}
#endif
#include "stdlib.h"