[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Standalone build.
From: |
Micah Cowan |
Subject: |
Re: [Bug-wget] Standalone build. |
Date: |
Thu, 21 Jun 2012 13:39:07 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
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