diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-23 07:52:38 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-23 07:52:38 +0000 |
commit | adac65af9391f56e964066310ff1d61f65dccc8e (patch) | |
tree | 911d5dd077da2c517f4ce45addfedb9731807ffe /error.c | |
parent | f30049f4ab8748e0d2f31b93f35110ceb6613dc1 (diff) |
* gc.c (define_final): should not disclose NODE* to Ruby world.
[ruby-dev:23957]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1152,14 +1152,14 @@ rb_sys_warning(fmt, va_alist) void rb_load_fail(path) - char *path; + const char *path; { rb_loaderror("%s -- %s", strerror(errno), path); } void rb_error_frozen(what) - char *what; + const char *what; { rb_raise(rb_eTypeError, "can't modify frozen %s", what); } |