* lib/yaml/rubytypes.rb: exceptions were using an older

YAML.object_maker. [ruby-core:03080]

* ext/syck/token.c (sycklex_yaml_utf8): using newline_len to
  handline CR-LFs.  "\000" was showing up on folded blocks which
  stopped at EOF.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
why 2004-07-30 20:31:09 +00:00
Родитель 4bcb334a5c
Коммит 45942bdbc6
3 изменённых файлов: 975 добавлений и 1154 удалений

Просмотреть файл

@ -1,3 +1,12 @@
Sat Jul 31 05:35:37 2004 why the lucky stiff <why@ruby-lang.org>
* lib/yaml/rubytypes.rb: exceptions were using an older
YAML.object_maker. [ruby-core:03080]
* ext/syck/token.c (sycklex_yaml_utf8): using newline_len to
handline CR-LFs. "\000" was showing up on folded blocks which
stopped at EOF.
Sat Jul 31 01:25:11 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (is_defined): call is_defined() before invoking
@ -182,7 +191,7 @@ Thu Jul 15 20:44:46 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* class.c: rdoc patch
Thu Jul 15 14:12:34 2004 why the lucky stiff <why@topi.cc>
Thu Jul 15 14:12:34 2004 why the lucky stiff <why@ruby-lang.org>
* lib/yaml.rb (YAML::load_file, YAML::parse_file): added.

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -271,7 +271,7 @@ end
YAML.add_ruby_type( /^exception/ ) { |type, val|
type, obj_class = YAML.read_type_class( type, Exception )
o = YAML.object_maker( obj_class, { 'mesg' => val.delete( 'message' ) }, true )
o = YAML.object_maker( obj_class, { 'mesg' => val.delete( 'message' ) } )
val.each_pair { |k,v|
o.instance_variable_set("@#{k}", v)
}