[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Big refactoring
From: |
Giuseppe Scrivano |
Subject: |
Re: [Bug-wget] Big refactoring |
Date: |
Tue, 21 Aug 2012 20:32:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
illusionoflife <address@hidden> writes:
> So, first of all, parse_netrc is huge. >200 lines. Well-commented, but still
> huge. And have strange standalone application in source. So I have idea to
> make some sort of api -- move routines of parsing netrc to `libwget'. I am
> not
> very familiar with code, but I think it will be good for Wget because:
> * Less code duplicate
> * Need to upkeep external api force betted code structure
I am not sure libwget is something easy to achieve but we can try to
arrive to that point. You could start by getting something like this
command to work:
cc -DSTANDALONE -I../lib ../lib/libgnu.a netrc.c
What do you think?
> I really want to contribute to Wget, but I am afraid that such radical
> changes
> will not be accepted with
Patches that make the code more readable and maintainable are always
welcome ;)
Cheers,
Giuseppe
Re: [Bug-wget] Big refactoring,
Giuseppe Scrivano <=