[Bf-committers] strcat/sprintf and sprintf/sprintf_s

Alexander Ewering blender at instinctive.de
Sun Jan 8 18:02:50 CET 2006


On Sun, 8 Jan 2006, Ben wrote:

> Regards,
>
> I'm not a very good coder, but I would like to help, so these were some 
> things that I found that perhaps I could help with.
>
> Firstly, like this: 
> http://projects.blender.org/tracker/index.php?func=detail&aid=3283&group_id=9&atid=127 
> there are some places in the code where sprintf + strcat could be replaced 
> with a single += sprintf statement. Is this desirable?

Yes, this is of course definitely desirable both for speed and readability.
I already did it in a few places - you're invited to do it everywhere you
wish.

| alexander ewering              instinctive mediaworks
| ae[@]instinctive[.]de   http://www[.]instinctive[.]de


More information about the Bf-committers mailing list