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:
parent
9d0a5d8e96
commit
52ee839409
2 changed files with 7 additions and 3 deletions
|
@ -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>
|
||||
|
||||
* include/ruby/ruby.h, gc.c: remove T_BLOCK.
|
||||
|
|
6
error.c
6
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
|
||||
|
|
Loading…
Reference in a new issue