git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2000-11-21 14:31:11 +00:00
Родитель a122fce476
Коммит 1f297b8bfc
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -1029,7 +1029,7 @@ marshal_load(argc, argv)
major = r_byte(&arg); major = r_byte(&arg);
minor = r_byte(&arg); minor = r_byte(&arg);
if (major != MARSHAL_MAJOR) { if (major != MARSHAL_MAJOR || minor > MARSHAL_MINOR) {
rb_raise(rb_eTypeError, "incompatible marshal file format (can't be read)\n\ rb_raise(rb_eTypeError, "incompatible marshal file format (can't be read)\n\
\tformat version %d.%d required; %d.%d given", \tformat version %d.%d required; %d.%d given",
MARSHAL_MAJOR, MARSHAL_MINOR, major, minor); MARSHAL_MAJOR, MARSHAL_MINOR, major, minor);