[Mono-dev] fix for DataConverter.cs

Miguel de Icaza miguel at novell.com
Sun Feb 10 14:27:48 EST 2008


Thanks,

    This patch has been applied to trunk and the 1.9 branch.

On Thu, 2008-02-07 at 16:18 -0500, Cliff Brake wrote:
> In PackEnumerable(), b.i is getting incremented in two places:
> 
> --- DataConverter.cs.1  2008-02-07 16:14:01.000000000 -0500
> +++ DataConverter.cs    2008-02-07 16:18:03.000000000 -0500
> @@ -309,7 +309,7 @@
>                         IEnumerator enumerator = args.GetEnumerator ();
>                         bool ok = enumerator.MoveNext ();
> 
> -                       for (b.i = 0; b.i < description.Length; b.i++){
> +                       for (b.i = 0; b.i < description.Length; ){
>                                 object oarg;
> 
>                                 if (ok)
> 
> Thanks,
> Cliff
> 


More information about the Mono-devel-list mailing list