Gtk2::TreeModel get() vs bleeding perl EXTEND()

Apparently perl 23.something pre-releases are threatening to make xs
EXTEND() of negative amounts an error.  I have this from cpantesters of
some of my code per
but I don't have a bleeding perl to actually try.

If I'm right it occurs when gtk_tree_model_get() in xs/GtkTreeModel.xs
is asked to fetch all columns of a 1-column tree model, resulting in
EXTEND(-1).  Such an extend is ok, since items==2 in that case and the
stack is going down to 1 item for the return, but apparently the
negativity of EXTEND() doesn't notice that.  Perhaps it would be worth
gtk_tree_model_get() extending only when needed, n_columns > items or
whatever the case.  The SP+= would still be done of course.

Mistah Kurtz - he dead.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]