Adjust indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b8095e5919
commit
d8761cf251
6
load.c
6
load.c
@ -230,10 +230,10 @@ features_index_add(VALUE feature, VALUE offset)
|
|||||||
feature_end = feature_str + RSTRING_LEN(feature);
|
feature_end = feature_str + RSTRING_LEN(feature);
|
||||||
|
|
||||||
for (ext = feature_end; ext > feature_str; ext--)
|
for (ext = feature_end; ext > feature_str; ext--)
|
||||||
if (*ext == '.' || *ext == '/')
|
if (*ext == '.' || *ext == '/')
|
||||||
break;
|
break;
|
||||||
if (*ext != '.')
|
if (*ext != '.')
|
||||||
ext = NULL;
|
ext = NULL;
|
||||||
/* Now `ext` points to the only string matching %r{^\.[^./]*$} that is
|
/* Now `ext` points to the only string matching %r{^\.[^./]*$} that is
|
||||||
at the end of `feature`, or is NULL if there is no such string. */
|
at the end of `feature`, or is NULL if there is no such string. */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user