From 52ee83940959e5923b02cdce4956803bd6886110 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 26 Apr 2008 08:35:23 +0000 Subject: [PATCH] * error.c (rb_eNOERROR): renamed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ error.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 754bf8526e..962c305029 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Apr 26 17:35:19 2008 Nobuyoshi Nakada + + * error.c (rb_eNOERROR): renamed. + Sat Apr 26 17:30:11 2008 Koichi Sasada * include/ruby/ruby.h, gc.c: remove T_BLOCK. diff --git a/error.c b/error.c index 00433fb08f..0300d4a1c6 100644 --- a/error.c +++ b/error.c @@ -333,7 +333,7 @@ VALUE rb_eLoadError; VALUE rb_eSystemCallError; VALUE rb_mErrno; -static VALUE eNOERROR; +static VALUE rb_eNOERROR; VALUE rb_exc_new(VALUE etype, const char *ptr, long len) @@ -989,7 +989,7 @@ syserr_eqq(VALUE self, VALUE exc) static VALUE errno_missing(VALUE self, VALUE id) { - return eNOERROR; + return rb_eNOERROR; } /* @@ -1534,7 +1534,7 @@ Init_syserr(void) #ifdef EDQUOT set_syserr(EDQUOT, "EDQUOT"); #endif - eNOERROR = set_syserr(0, "NOERROR"); + rb_eNOERROR = set_syserr(0, "NOERROR"); } static void