From fae6c6bfd850f49e595d625659c9b5d8816a8c7c Mon Sep 17 00:00:00 2001 From: svn Date: Tue, 30 Oct 2018 03:22:09 +0000 Subject: * expand tabs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 14 +++++++------- gc.c | 2 +- random.c | 6 +++--- thread.c | 2 +- thread_pthread.c | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/compile.c b/compile.c index 112dba00d8..ba6924e713 100644 --- a/compile.c +++ b/compile.c @@ -7761,18 +7761,18 @@ iseq_build_from_ary_exception(rb_iseq_t *iseq, struct st_table *labels_table, if (RARRAY_LEN(v) != 6) { rb_raise(rb_eSyntaxError, "wrong exception entry"); } - type = get_exception_sym2type(RARRAY_AREF(v, 0)); + type = get_exception_sym2type(RARRAY_AREF(v, 0)); if (RARRAY_AREF(v, 1) == Qnil) { eiseq = NULL; } else { - eiseq = rb_iseqw_to_iseq(rb_iseq_load(RARRAY_AREF(v, 1), (VALUE)iseq, Qnil)); + eiseq = rb_iseqw_to_iseq(rb_iseq_load(RARRAY_AREF(v, 1), (VALUE)iseq, Qnil)); } - lstart = register_label(iseq, labels_table, RARRAY_AREF(v, 2)); - lend = register_label(iseq, labels_table, RARRAY_AREF(v, 3)); - lcont = register_label(iseq, labels_table, RARRAY_AREF(v, 4)); - sp = NUM2UINT(RARRAY_AREF(v, 5)); + lstart = register_label(iseq, labels_table, RARRAY_AREF(v, 2)); + lend = register_label(iseq, labels_table, RARRAY_AREF(v, 3)); + lcont = register_label(iseq, labels_table, RARRAY_AREF(v, 4)); + sp = NUM2UINT(RARRAY_AREF(v, 5)); /* TODO: Dirty Hack! Fix me */ if (type == CATCH_TYPE_RESCUE || @@ -7896,7 +7896,7 @@ iseq_build_from_ary_body(rb_iseq_t *iseq, LINK_ANCHOR *const anchor, } for (i=0; ifirst_func && target_th->first_proc) { VALUE loc = rb_proc_location(target_th->first_proc); if (!NIL_P(loc)) { - rb_str_catf(str, "@%"PRIsVALUE":%"PRIsVALUE, + rb_str_catf(str, "@%"PRIsVALUE":%"PRIsVALUE, RARRAY_AREF(loc, 0), RARRAY_AREF(loc, 1)); rb_gc_force_recycle(loc); } diff --git a/thread_pthread.c b/thread_pthread.c index 648bf8f3d5..a8bb4c7178 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -1620,12 +1620,12 @@ native_set_thread_name(rb_thread_t *th) size_t len; int n; - name = RSTRING_PTR(RARRAY_AREF(loc, 0)); + name = RSTRING_PTR(RARRAY_AREF(loc, 0)); p = strrchr(name, '/'); /* show only the basename of the path. */ if (p && p[1]) name = p + 1; - n = snprintf(buf, sizeof(buf), "%s:%d", name, NUM2INT(RARRAY_AREF(loc, 1))); + n = snprintf(buf, sizeof(buf), "%s:%d", name, NUM2INT(RARRAY_AREF(loc, 1))); rb_gc_force_recycle(loc); /* acts as a GC guard, too */ len = (size_t)n; -- cgit v1.2.3