summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-22 08:50:25 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-22 08:50:25 +0000
commit5318154fe1ac6f8dff014988488b9e063988a105 (patch)
tree95c52dda086205d9abd64206ebe8a213ac9e1fca /internal.h
parentdbd4c4a7b373061d235857f7f34e15859a7f1051 (diff)
eval_error.c: backstrace in reverse order
* eval_error.c (rb_threadptr_error_print): print backtrace and error message in reverse order if STDERR is unchanged and a tty. [Feature #8661] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index f74852369a..e74b91f667 100644
--- a/internal.h
+++ b/internal.h
@@ -1193,6 +1193,7 @@ ssize_t rb_io_bufread(VALUE io, void *buf, size_t size);
void rb_stdio_set_default_encoding(void);
VALUE rb_io_flush_raw(VALUE, int);
size_t rb_io_memsize(const rb_io_t *);
+int rb_stderr_tty_p(void);
/* load.c */
VALUE rb_get_load_path(void);