Skip to content

Commit

Permalink
small last minute changes (eval.c, file.c)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_6@1747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
matz committed Sep 18, 2001
1 parent c3de388 commit 766a13e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion eval.c
Expand Up @@ -8096,7 +8096,7 @@ rb_thread_abort_exc_set(thread, val)
th->errinfo = Qnil;\
th->last_status = 0;\
th->last_line = 0;\
th->last_match = 0;\
th->last_match = Qnil;\
th->abort = 0;\
th->priority = 0;\
th->gid = 1;\
Expand Down
5 changes: 2 additions & 3 deletions file.c
Expand Up @@ -76,7 +76,7 @@ static VALUE rb_cStat;

static int
apply2files(func, vargs, arg)
int (*func)();
void (*func)();
VALUE vargs;
void *arg;
{
Expand All @@ -90,8 +90,7 @@ apply2files(func, vargs, arg)

for (i=0; i<args->len; i++) {
path = args->ptr[i];
if ((*func)(RSTRING(path)->ptr, arg) < 0)
rb_sys_fail(RSTRING(path)->ptr);
(*func)(RSTRING(path)->ptr, arg);
}

return args->len;
Expand Down

0 comments on commit 766a13e

Please sign in to comment.