Skip to content
brentr edited this page Sep 13, 2010 · 16 revisions

This is a forked repository. Have a look at
rubyspec’s matzruby wiki
for more information.

This git fork picks up from where the code posted here leaves off. Please read this first

The working branches are called:

v1_8_6_287-mbari #MBARI patches for MRI 1.8.6 patchlevel 287

v1_8_7_72-mbari #MBARI patches for MRI 1.8.7 patchlevel 72

v1_8_7_72-mbari has tags corresponding to the individual MBARI patch files available before this repo was created.

The V1_8_6_286-mbari branch is was added 2/16/09. It currently fails one test in the Ruby test suite:
test_object_id_collision(YAML_Unit_Tests):

RuntimeError: id collision in ordered map

./yaml/test_yaml.rb:1281:in `test_object_id_collision’

If anyone has a clue why, please let me know.

What’s new here:

The current patches from git hub identify themselves at version MBARI 7+
They include some of the clean ups contributed by Nobuyoshi Nakada at ruby-core.
All API changes they make are disabled by default. Even GC.stress is back :-)
However, you can enable the API changes documented on the website very easily by adding the

line: #define MBARI_API

to the end of config.h

Of course, after configure is run, config.h is rewritten, so, the best way to do this might be:

CFLAGS=“-O2 -fno-stack-protector” configure

echo “#define MBARI_API” >>config.h

make

MBARI patched versions without support for the new API will identify themselves as:

ruby -v

ruby 1.8.x (2009-mm-dd mbari …

Versions with the MBARI_API support identify themselves like this:

ruby -v

ruby 1.8.x (2009-mm-dd MBARI

Clone this wiki locally