On Mon, 04 Oct 2004 21:47:37 +0200 Thomas wrote:
TA> Robert Story (Coders) wrote:
TA> > On Mon, 04 Oct 2004 14:50:22 +0200 Thomas wrote:
TA> > TA> Can we possibly get rid of strtok(), at least in read_configs()?
TA> > 
TA> > To mangle a well-know quote: Patches speak louder than emails. ;-)
TA> 
TA> Sure, but the wide-spread usage of strtok in the source base
TA> didn't feel like a consensus to get rid of it. ;)

Well, I didn't intend to get rid of it everywhere. But if it's the source of a
bug, and you have a fix that eliminates the use of strtok...


TA> And, even then, what commonly available function shall it be
TA> replaced with (at least in read_configs())? It probably doesn't
TA> justify introducing a dependency on GLib, although their string
TA> functions are quite convenient.

I think any new dependencies would looked upon unfavorably.


TA> OTOH, may the one that introduced the usage of strtok in read_configs
TA> come up with an easier fix for this particular problem?

In that case, your best bet is to submit a bug report, and then cross your
fingers.  [but don't hold your breath! ;-) ]

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to