On Fri, Jun 26, 2009 at 1:01 AM, Martin Panter<vadmium+o...@gmail.com> wrote:
> On 25/06/2009, Øyvind Harboe <oyvind.har...@zylin.com> wrote:
>>  Attached is a patch that removes alloca().
>
> From the patch:
> -       return ERROR_OK;
> +
> +       r=ERROR_OK;
> +exit_fn:
> +       free(pagebuffer);
> +       return retval;
>
> Is it just me, or are you assigning everything to "r" and then
> returning "retval" instead?


It's broken alright :-) I want to get rid of alloca.



-- 
Øyvind Harboe
Embedded software and hardware consulting services
http://www.zylin.com
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to