FTP client - stream oriented functions

Jonathan Larmour jifl@eCosCentric.com
Mon May 24 23:41:00 GMT 2004


Gary Thomas wrote:
>  
> Index: net/ftpclient/current/cdl/ftpclient.cdl
> ===================================================================
> RCS file: /misc/cvsfiles/ecos-opt/net/net/ftpclient/current/cdl/ftpclient.cdl,v
> retrieving revision 1.4
> diff -u -5 -p -r1.4 ftpclient.cdl
> --- net/ftpclient/current/cdl/ftpclient.cdl	24 Feb 2003 14:29:52 -0000	1.4
> +++ net/ftpclient/current/cdl/ftpclient.cdl	24 May 2004 19:26:14 -0000
> @@ -7,10 +7,11 @@
>  # ====================================================================
>  #####ECOSGPLCOPYRIGHTBEGIN####
>  ## -------------------------------------------
>  ## This file is part of eCos, the Embedded Configurable Operating System.
>  ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
> +## Copyright (C) 2004 Gary Thomas
>  ##
>  ## eCos is free software; you can redistribute it and/or modify it under
>  ## the terms of the GNU General Public License as published by the Free
>  ## Software Foundation; either version 2 or (at your option) any later version.
>  ##
> @@ -51,26 +52,37 @@
>  
>  cdl_package CYGPKG_NET_FTPCLIENT {
>      display       "FTP client"
>      parent        CYGPKG_NET
>      requires      CYGPKG_IO
> +    requires      CYGPKG_NET

NB redundant if it's a parent.

> +    requires      CYGPKG_MEMALLOC

CYGINT_ISO_MALLOC strictly.

A bit unfortunate this couldn't have been an option, but it does look a bit 
complex to do both. Well, I can think of one likely simple way, but it 
seems probably not worth it when the net stack is needed, which also 
requires malloc anyway.

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine



More information about the Ecos-patches mailing list