strcat+strcat+strcat == baaad

Joerg Mayer jmayer at
Sat Nov 30 17:57:15 CST 2002

On Sat, Nov 30, 2002 at 10:49:34AM -0800, Alexandre Julliard wrote:
> > It's more efficient to do:
> > 
> >   sprintf(foo, "%s%s%s%s%s%s", bar1,bar2,bar3,bar4,bar5,bar6);

In case you cannot be 100% sure of the lengths, it might still be worth it
with snprintf, but otherwise, it's a matter of taste.

Joerg Mayer                                          <jmayer at>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.

More information about the wine-devel mailing list