[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#100046: apt no_proxy parsing is broken



On Fri, 8 Jun 2001, Martin Schwenke wrote:

> I'm a little surprised that the string isn't split at commas using
> something a little higher level.  strtok_r(3) should do a reliable
> job, especially since the code is more C than C++ anyway.  Otherwise,
> there should be something in the STL...

strtok_r requires dynamic memories and things from the STL are unlikely to
work reliably on the older g++'s this was written for.

Jason



Reply to: