Red Hat Bugzilla – Bug 56734
patch to make the ftpclient actually compile
Last modified: 2007-04-18 12:38:26 EDT
Description of Problem:
The ftpclient code i contributed was for eCos 1.5.2. It seems it was just
dropped into anoncvs eCos an never tested. It does not compile because of
two changes between 1.5.2 and the current anoncvs version....
1) gethostbyname no longer exists. This bit of code needs to be conditional
on the NS_DNS package.
2) diag_printf has been rewritten to use varargs where as my code used the
old array method.
Attached is a patch to fix these two problems. It at least compiles now.
Created attachment 38624 [details]
Patch to make the ftpclient compile
I've applied the patch verbatim now. You'll see it in the next anoncvs update. I
should probably have a closer look at this package sometime, but at least it's
there for now :-).