illusionoflife <[email protected]> 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
