[PATCH 06/20] app: add some utils
Sascha Hauer
s.hauer at pengutronix.de
Thu Mar 7 02:45:03 EST 2013
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.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list