From: ts Date: 2001-08-12T23:10:46+09:00 Subject: [ruby-talk:19603] Re: Overriding Marshal.load version test >>>>> "R" == RubyMine Org writes: R> is deserialized. If override is given with non-false value the R> test whether loader version is compatible with marshaller which R> produced from is skipped. Warning: skipping the test might crash R> the entire interpreter. Well, probably I'm stupid but this is exactly the inverse R> + if ( rb_scan_args(argc, argv, "12", &port, &proc, &override) < 3){ R> + override = Qfalse; R> + } [...] R> - if (major != MARSHAL_MAJOR || minor > MARSHAL_MINOR) { R> + if ( RTEST(override) ){ R> + if (major != MARSHAL_MAJOR || minor > MARSHAL_MINOR) { if override is given a false value the test is skipped Guy Decoux