[Gc] GC_set_free_space_divisor api change on purpose?

Rex Dieter rdieter at math.unl.edu
Sun May 2 14:44:14 PDT 2010


I'm pretty sure the answer is yes, but asking to make sure.

In gc <= 7.1, gc.h contained:

GC_API GC_word GC_set_free_space_divisor(GC_word value);

and in 7.2-alpha4 anyway, now has

GC_API void GC_CALL GC_set_free_space_divisor(GC_word);
GC_API GC_word GC_CALL GC_get_free_space_divisor(void);

Was this api change (at least to GC_set_free_space_divisor's return value) 
intentional?

I'm asking because of downstream bug,
https://bugzilla.redhat.com/show_bug.cgi?id=587391

where this change causes kaya build failures.  If this was intentional, 
should be fairly straight-forward to patch kaya for the new gc behavior.

-- Rex



More information about the Gc mailing list