зеркало из https://github.com/github/ruby.git
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
781ce823dc
Коммит
598d8ada31
|
@ -1,3 +1,9 @@
|
|||
Wed Dec 6 18:07:13 2000 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* djgpp/config.sed, win32/Makefile.sub: typo.
|
||||
|
||||
* eval.c (rb_mod_define_method): avoid VC4.0 warnings.
|
||||
|
||||
Mon Dec 4 13:44:01 2000 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* lib/jcode.rb: consider multibyte. not /n.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/^SHELL/s,/bin/sh,$(COMPSEC),
|
||||
/^SHELL/s,/bin/sh,$(COMSPEC),
|
||||
s%@srcdir@%.%g
|
||||
s%@top_srcdir@%..%
|
||||
s%@CFLAGS@%-O2%g
|
||||
|
|
4
eval.c
4
eval.c
|
@ -6585,10 +6585,10 @@ rb_mod_define_method(argc, argv, mod)
|
|||
if (TYPE(body) != T_DATA) {
|
||||
/* type error */
|
||||
}
|
||||
if (RDATA(body)->dmark == bm_mark) {
|
||||
if (RDATA(body)->dmark == (RUBY_DATA_FUNC)bm_mark) {
|
||||
rb_add_method(mod, id, NEW_DMETHOD(method_unbind(body)), NOEX_PUBLIC);
|
||||
}
|
||||
else if (RDATA(body)->dmark != blk_mark) {
|
||||
else if (RDATA(body)->dmark != (RUBY_DATA_FUNC)blk_mark) {
|
||||
rb_add_method(mod, id, NEW_BMETHOD(body), NOEX_PUBLIC);
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
SHELL = $(COMPSEC)
|
||||
SHELL = $(COMSPEC)
|
||||
|
||||
#### Start of system configuration section. ####
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче