mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
errno.c: hide internal _sys_fail from backtrace.
This commit is contained in:
@@ -92,6 +92,7 @@ mrb_sce_sys_fail(mrb_state *mrb, mrb_value cls)
|
||||
int argc;
|
||||
char name[8];
|
||||
|
||||
mrb->c->ci->mid = 0;
|
||||
sce = mrb_class_get(mrb, "SystemCallError");
|
||||
argc = mrb_get_args(mrb, "i|S", &no, &msg);
|
||||
if (argc == 1) {
|
||||
|
||||
Reference in New Issue
Block a user