On Thursday, August 26, 2010 16:24:56 Mike Frysinger wrote:
> On Thursday, August 26, 2010 06:20:44 Frans Meulenbroeks wrote:
> >                       strcat ($1.buf, $2);
> > 
> > -                     $1.strlen += strlen ($2);
> > +                     $1.strlen += frag_len;
> 
> we know the length of $2 here, so also doing a memcpy() should work
>       memcpy($1.buf + $1.strlen, $2, frag_len + 1);

merged your original change and then added my memcpy fix, thanks
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to