1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* error.c (rb_eNOERROR): renamed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-04-26 08:35:23 +00:00
parent 9d0a5d8e96
commit 52ee839409
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Sat Apr 26 17:35:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* error.c (rb_eNOERROR): renamed.
Sat Apr 26 17:30:11 2008 Koichi Sasada <ko1@atdot.net> Sat Apr 26 17:30:11 2008 Koichi Sasada <ko1@atdot.net>
* include/ruby/ruby.h, gc.c: remove T_BLOCK. * include/ruby/ruby.h, gc.c: remove T_BLOCK.

View file

@ -333,7 +333,7 @@ VALUE rb_eLoadError;
VALUE rb_eSystemCallError; VALUE rb_eSystemCallError;
VALUE rb_mErrno; VALUE rb_mErrno;
static VALUE eNOERROR; static VALUE rb_eNOERROR;
VALUE VALUE
rb_exc_new(VALUE etype, const char *ptr, long len) rb_exc_new(VALUE etype, const char *ptr, long len)
@ -989,7 +989,7 @@ syserr_eqq(VALUE self, VALUE exc)
static VALUE static VALUE
errno_missing(VALUE self, VALUE id) errno_missing(VALUE self, VALUE id)
{ {
return eNOERROR; return rb_eNOERROR;
} }
/* /*
@ -1534,7 +1534,7 @@ Init_syserr(void)
#ifdef EDQUOT #ifdef EDQUOT
set_syserr(EDQUOT, "EDQUOT"); set_syserr(EDQUOT, "EDQUOT");
#endif #endif
eNOERROR = set_syserr(0, "NOERROR"); rb_eNOERROR = set_syserr(0, "NOERROR");
} }
static void static void