Gnutella Forums  

Go Back   Gnutella Forums > Discontinued Gnutella Client Forums > Mutella (Linux/Unix)
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Mutella (Linux/Unix) Mutella has been discontinued. We highly recommend you use an actively developed client instead.


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #9 (permalink)  
Old August 20th, 2002
Unregistered
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Unregistered
Max,

was there a reason why you choosen CString over std::string? *curious*
Yep. The std::string provided with g++ 2.95 is thread unsafe, but it only can be demonstrated on a SMP box (which I do have). So I had to write my own string. The other reason why my string is somewhat similar to MFC's CString is because I'm comming from the win32 world.

Quote:
Btw, maybe you want to add a "parachute" to your TString::format() code: if there is '%n' in the format string (fmt) better don't evaluate the expression. Since you can't verify the argument types feeded on runtime, this could be exploited (by accident). Nobody really needs unsafe %n. Hope it helps.
Good idea, however, I never use %n. But I did get few crashes (not with mutella) because of typing %n instead of %d.

Cheers
--Max
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
any updates to mutella? Gateway Mutella (Linux/Unix) 3 December 2nd, 2005 05:13 PM
Mutella 0.4 is out! maksik Mutella (Linux/Unix) 5 November 20th, 2003 10:34 AM
mutella newbie question hotcarl Mutella (Linux/Unix) 2 September 8th, 2002 05:02 AM
Welcome to the Mutella forum maksik Mutella (Linux/Unix) 3 March 7th, 2002 07:36 AM
Why not a Mutella forum fefu Mutella (Linux/Unix) 7 March 7th, 2002 07:19 AM


All times are GMT -7. The time now is 03:01 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.