[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: strcat+strcat+strcat == baaad
From:       Joerg Mayer <jmayer () loplof ! de>
Date:       2002-11-30 23:57:15
[Download RAW message or body]

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.

  Ciao
           Jörg
--
Joerg Mayer                                          <jmayer@loplof.de>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic