diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-09-18 03:47:03 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-09-18 03:47:03 +0000 |
commit | f7fe97723a970cc1bfc14e9676a299c6099ae2e3 (patch) | |
tree | a30b52fe586e8cd40f984736cee90e3533a209f5 /file.c | |
parent | b12951c688e541308bd3869470cd751c159091c3 (diff) |
small last minute changes (eval.c, file.c)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -76,7 +76,7 @@ static VALUE rb_cStat; static int apply2files(func, vargs, arg) - int (*func)(); + void (*func)(); VALUE vargs; void *arg; { @@ -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; |