On 06/21/2012 01:33 PM, Micah Cowan wrote:
> On 06/21/2012 11:12 AM, illusionoflife wrote:
>> Hello, Free Hackers!
>>
>> Currently, I got idea to feed wget sources to GNU complexity tool 
>> and try to simplify some of extremely long functions. During exploring, 
>> I found, that we have two independed implementations of *read_whole_line* in 
>> netrc.c and utils.c. In netrc.c it is ifdefed STANDALONE. So my question, 
>> what 
>> is stadalone build case, when it is used and may I  somehow reduce code 
>> duplication? For me, less code - less problems.
> 
> IIRC, that was to allow the URL-extraction portion of wget to be built
> stand-alone, so that it would create a tool that just extract URLs and
> spit them out, and not as part of some wget run.
> 
> I haven't heard of anyone doing that for quite some time, and it hasn't
> been getting active testing or support, so Caveat Attemptor or something. :)

Gah. This of course applies to the STANDALONE for html-parse.
Presumably, the one in netrc allows it to extract netrc info and then
spit it out, or something.

Same descriptions apply there, though.

-mjc


Reply via email to