[PATCH 06/20] app: add some utils

Alexander Aring alex.aring at gmail.com
Thu Mar 7 04:17:54 EST 2013


On Thu, Mar 07, 2013 at 08:45:03AM +0100, Sascha Hauer wrote:
> On Wed, Mar 06, 2013 at 10:34:44PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > On 22:21 Wed 06 Mar     , Sascha Hauer wrote:
> > > On Wed, Mar 06, 2013 at 10:29:35AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > > >  - getchar_timeout
> > > >  - term (try to detect terminal size, position, ansi helper)
> > > >  - list
> > > > 
> > > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> > > > ---
> > > > diff --git a/apps/include/utils/list.h b/apps/include/utils/list.h
> > > > new file mode 100644
> > > > index 0000000..8a18dae
> > > > --- /dev/null
> > > > +++ b/apps/include/utils/list.h
> > > > @@ -0,0 +1,114 @@
> > > > +/*
> > > > + * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD <plagnio at jcrosoft.com>
> > > > + *
> > > > + * Under GPLv2 only
> > > > + *
> > > > + * As a special exception, if other files instantiate templates or use macros
> > > > + * or inline functions from this file, or you compile this file and link it
> > > > + * with other works to produce a work based on this file, this file does not
> > > > + * by itself cause the resulting work to be covered by the GNU General Public
> > > > + * License. However the source code for this file must still be made available
> > > > + * in accordance with section (3) of the GNU General Public License.
> > > > +
> > > > + * This exception does not invalidate any other reasons why a work based on
> > > > + * this file might be covered by the GNU General Public License.
> > > > + */
> > > 
> > > This looks suspiciously like the Linux list implementation which I think you
> > > haven't written. Also who gives you the right to add this licence
> > > exception to code you do not own?
> > I did wrote this for years about 10 I just update the code to looks like the
> > linux one so I do own the code
> 
> LOL. I've written my own OS 25 years ago, I just updated the code to look
> like Linux.
> 
lol... other question: why we need a second list implementation?
In order to not be dependent on linux headers?

Alex



More information about the barebox mailing list