[fpc-pascal] avl_tree.pp unit license

Mattias Gaertner nc-gaertnma at netcologne.de
Sun May 25 10:39:16 CEST 2008


On Sun, 25 May 2008 10:21:38 +0200 (CEST)
Michael Van Canneyt <michael at freepascal.org> wrote:

> 
> 
> On Sun, 25 May 2008, Vladimir Zhirov wrote:
> 
> > Hi,
> > 
> > I've got a question about the license of unit avl_tree.pp, that
> > comes with FCL. FPC FAQ states that
> > 
> > > Applications created by the compiler and using the runtime library
> > > come under a modified library gnu public license (LGPL), which
> > > permit no restriction on the type of license the application has.
> > 
> > Meanwhile, the avl_tree.pp contains the following comment:
> > 
> > > This source 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
> > > of the License, or     * (at your option) any later version.
> > 
> > AVL_Tree unit is used by dom.pp.
> > 
> > So the question is: are there any restrictions on the license of
> > applications that use dom.pp and avl_tree.pp?
> 
> Normally, the FPC FAQ is correct. 
> 
> Mattias Gaertner (of the Lazarus team) wrote the unit. Lazarus
> switched to the same license as FPC. However, at that time the unit
> source was already moved to the FCL package, and I suppose he forgot
> to update the license text.

The avl_tree unit was from the codetools that were and still are GPL-2. 
I agreed with the license change of FPC but someone else did the
license change of FPC's svn and forgot it.
Maybe you should check other units too?

 
> I'll ask him if it is OK to switch the license text to the standard
> FPC license text. I do not expect problems, but I'll mail you in
> person to say that it is OK.
> 
> Good enough ?


Mattias



More information about the fpc-pascal mailing list