On Friday 20 July 2007 00:47:44 [EMAIL PROTECTED] wrote:

> Log:
> [PMC] Unbugged a seriously bugged string index operation.
>
> Modified: trunk/src/pmc/namespace.pmc
> ===========================================================================
>=== --- trunk/src/pmc/namespace.pmc    (original)
> +++ trunk/src/pmc/namespace.pmc       Fri Jul 20 00:47:44 2007
> @@ -237,7 +237,7 @@
>                  STRING *meth_name = key;
>
>                  if (string_str_index(interp, key,
> -                    CONST_STRING(interp, "__"), 0 == 0)) {
> +                    CONST_STRING(interp, "__"), 0) == 0) {
>                      meth_name = string_substr(interp, key, 2,
>                          string_length(interp, key) - 2, NULL, 0);
>                  }

This checkin breaks t/pmc/freeze.t for me, and I suspect that does bad things 
elsewhere.  I don't have time to investigate right now, but it's worth 
checking!

-- c

Reply via email to