diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-21 02:31:11 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-21 02:31:11 +0000 |
commit | 4cf437519f1cbefed5ad7ee2bf0e68857105823f (patch) | |
tree | 735cc60c2165cefab0d4cf11cd399e73f8c47f82 /io.c | |
parent | 817a4e3c83fd830b93c286159e97a18654db1c35 (diff) | |
download | ruby-4cf437519f1cbefed5ad7ee2bf0e68857105823f.tar.gz |
* regerror.c, string.c, io.c, lib/getoptlong.rb, lib/net/imap.rb,
compile.c, sprintf.c, parse.y, ext/win32ole/win32ole.c,
ext/tk/sample/demos-en/entry3.rb, ext/tk/lib/tcltk.rb,
ext/openssl/ossl_bn.c, numeric.c, vm.c,
benchmark/bm_so_meteor_contest.rb, bignum.c, ruby.c: don't "illegal"
for non law violation context.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2906,7 +2906,7 @@ rb_io_flags_mode(int flags) } return MODE_BINMODE("r+", "rb+"); } - rb_raise(rb_eArgError, "illegal access modenum %o", flags); + rb_raise(rb_eArgError, "invalid access modenum %o", flags); return NULL; /* not reached */ } @@ -2928,7 +2928,7 @@ rb_io_mode_flags(const char *mode) break; default: error: - rb_raise(rb_eArgError, "illegal access mode %s", mode); + rb_raise(rb_eArgError, "invalid access mode %s", mode); } while (*m) { @@ -2999,7 +2999,7 @@ rb_io_mode_modenum(const char *mode) break; default: error: - rb_raise(rb_eArgError, "illegal access mode %s", mode); + rb_raise(rb_eArgError, "invalid access mode %s", mode); } while (*m) { @@ -3046,7 +3046,7 @@ rb_io_modenum_mode(int flags) case O_RDWR: return MODE_BINARY("r+", "rb+"); } - rb_raise(rb_eArgError, "illegal access modenum %o", flags); + rb_raise(rb_eArgError, "invalid access modenum %o", flags); return NULL; /* not reached */ } |