summaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-23 07:52:38 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-23 07:52:38 +0000
commitfa0053812ac44024ea9a6cedeb70b5535868d191 (patch)
tree2fa3966a581fc9b57e35af22e41cbc04362be7bc /error.c
parent29cdaacd1546c3dac74453033c845a183f37410a (diff)
downloadruby-fa0053812ac44024ea9a6cedeb70b5535868d191.tar.gz
ruby-fa0053812ac44024ea9a6cedeb70b5535868d191.tar.xz
ruby-fa0053812ac44024ea9a6cedeb70b5535868d191.zip
* gc.c (define_final): should not disclose NODE* to Ruby world.
[ruby-dev:23957] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/error.c b/error.c
index dab9475f6..d6f548593 100644
--- a/error.c
+++ b/error.c
@@ -1147,14 +1147,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);
}