Bug 56734 - patch to make the ftpclient actually compile
patch to make the ftpclient actually compile
Product: eCos
Classification: Retired
Component: Patches and contributions (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jonathan Larmour
Jonathan Larmour
Depends On:
  Show dependency treegraph
Reported: 2001-11-26 12:37 EST by Andrew Lunn
Modified: 2007-04-18 12:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-12-04 18:41:30 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch to make the ftpclient compile (4.36 KB, patch)
2001-11-26 12:38 EST, Andrew Lunn
no flags Details | Diff

  None (edit)
Description Andrew Lunn 2001-11-26 12:37:33 EST
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.
Comment 1 Andrew Lunn 2001-11-26 12:38:32 EST
Created attachment 38624 [details]
Patch to make the ftpclient compile
Comment 2 Jonathan Larmour 2001-12-04 18:41:25 EST
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 :-).


Comment 3 Jonathan Larmour 2002-01-03 16:26:41 EST
No complaints....

Note You need to log in before you can comment on or make changes to this bug.