xref: /vim-8.2.3635/src/xdiff/COPYING (revision e828b762)
1*e828b762SBram Moolenaar		  GNU LESSER GENERAL PUBLIC LICENSE
2*e828b762SBram Moolenaar		       Version 2.1, February 1999
3*e828b762SBram Moolenaar
4*e828b762SBram Moolenaar Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5*e828b762SBram Moolenaar     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
6*e828b762SBram Moolenaar Everyone is permitted to copy and distribute verbatim copies
7*e828b762SBram Moolenaar of this license document, but changing it is not allowed.
8*e828b762SBram Moolenaar
9*e828b762SBram Moolenaar[This is the first released version of the Lesser GPL.  It also counts
10*e828b762SBram Moolenaar as the successor of the GNU Library Public License, version 2, hence
11*e828b762SBram Moolenaar the version number 2.1.]
12*e828b762SBram Moolenaar
13*e828b762SBram Moolenaar			    Preamble
14*e828b762SBram Moolenaar
15*e828b762SBram Moolenaar  The licenses for most software are designed to take away your
16*e828b762SBram Moolenaarfreedom to share and change it.  By contrast, the GNU General Public
17*e828b762SBram MoolenaarLicenses are intended to guarantee your freedom to share and change
18*e828b762SBram Moolenaarfree software--to make sure the software is free for all its users.
19*e828b762SBram Moolenaar
20*e828b762SBram Moolenaar  This license, the Lesser General Public License, applies to some
21*e828b762SBram Moolenaarspecially designated software packages--typically libraries--of the
22*e828b762SBram MoolenaarFree Software Foundation and other authors who decide to use it.  You
23*e828b762SBram Moolenaarcan use it too, but we suggest you first think carefully about whether
24*e828b762SBram Moolenaarthis license or the ordinary General Public License is the better
25*e828b762SBram Moolenaarstrategy to use in any particular case, based on the explanations below.
26*e828b762SBram Moolenaar
27*e828b762SBram Moolenaar  When we speak of free software, we are referring to freedom of use,
28*e828b762SBram Moolenaarnot price.  Our General Public Licenses are designed to make sure that
29*e828b762SBram Moolenaaryou have the freedom to distribute copies of free software (and charge
30*e828b762SBram Moolenaarfor this service if you wish); that you receive source code or can get
31*e828b762SBram Moolenaarit if you want it; that you can change the software and use pieces of
32*e828b762SBram Moolenaarit in new free programs; and that you are informed that you can do
33*e828b762SBram Moolenaarthese things.
34*e828b762SBram Moolenaar
35*e828b762SBram Moolenaar  To protect your rights, we need to make restrictions that forbid
36*e828b762SBram Moolenaardistributors to deny you these rights or to ask you to surrender these
37*e828b762SBram Moolenaarrights.  These restrictions translate to certain responsibilities for
38*e828b762SBram Moolenaaryou if you distribute copies of the library or if you modify it.
39*e828b762SBram Moolenaar
40*e828b762SBram Moolenaar  For example, if you distribute copies of the library, whether gratis
41*e828b762SBram Moolenaaror for a fee, you must give the recipients all the rights that we gave
42*e828b762SBram Moolenaaryou.  You must make sure that they, too, receive or can get the source
43*e828b762SBram Moolenaarcode.  If you link other code with the library, you must provide
44*e828b762SBram Moolenaarcomplete object files to the recipients, so that they can relink them
45*e828b762SBram Moolenaarwith the library after making changes to the library and recompiling
46*e828b762SBram Moolenaarit.  And you must show them these terms so they know their rights.
47*e828b762SBram Moolenaar
48*e828b762SBram Moolenaar  We protect your rights with a two-step method: (1) we copyright the
49*e828b762SBram Moolenaarlibrary, and (2) we offer you this license, which gives you legal
50*e828b762SBram Moolenaarpermission to copy, distribute and/or modify the library.
51*e828b762SBram Moolenaar
52*e828b762SBram Moolenaar  To protect each distributor, we want to make it very clear that
53*e828b762SBram Moolenaarthere is no warranty for the free library.  Also, if the library is
54*e828b762SBram Moolenaarmodified by someone else and passed on, the recipients should know
55*e828b762SBram Moolenaarthat what they have is not the original version, so that the original
56*e828b762SBram Moolenaarauthor's reputation will not be affected by problems that might be
57*e828b762SBram Moolenaarintroduced by others.
58*e828b762SBram Moolenaar
59*e828b762SBram Moolenaar  Finally, software patents pose a constant threat to the existence of
60*e828b762SBram Moolenaarany free program.  We wish to make sure that a company cannot
61*e828b762SBram Moolenaareffectively restrict the users of a free program by obtaining a
62*e828b762SBram Moolenaarrestrictive license from a patent holder.  Therefore, we insist that
63*e828b762SBram Moolenaarany patent license obtained for a version of the library must be
64*e828b762SBram Moolenaarconsistent with the full freedom of use specified in this license.
65*e828b762SBram Moolenaar
66*e828b762SBram Moolenaar  Most GNU software, including some libraries, is covered by the
67*e828b762SBram Moolenaarordinary GNU General Public License.  This license, the GNU Lesser
68*e828b762SBram MoolenaarGeneral Public License, applies to certain designated libraries, and
69*e828b762SBram Moolenaaris quite different from the ordinary General Public License.  We use
70*e828b762SBram Moolenaarthis license for certain libraries in order to permit linking those
71*e828b762SBram Moolenaarlibraries into non-free programs.
72*e828b762SBram Moolenaar
73*e828b762SBram Moolenaar  When a program is linked with a library, whether statically or using
74*e828b762SBram Moolenaara shared library, the combination of the two is legally speaking a
75*e828b762SBram Moolenaarcombined work, a derivative of the original library.  The ordinary
76*e828b762SBram MoolenaarGeneral Public License therefore permits such linking only if the
77*e828b762SBram Moolenaarentire combination fits its criteria of freedom.  The Lesser General
78*e828b762SBram MoolenaarPublic License permits more lax criteria for linking other code with
79*e828b762SBram Moolenaarthe library.
80*e828b762SBram Moolenaar
81*e828b762SBram Moolenaar  We call this license the "Lesser" General Public License because it
82*e828b762SBram Moolenaardoes Less to protect the user's freedom than the ordinary General
83*e828b762SBram MoolenaarPublic License.  It also provides other free software developers Less
84*e828b762SBram Moolenaarof an advantage over competing non-free programs.  These disadvantages
85*e828b762SBram Moolenaarare the reason we use the ordinary General Public License for many
86*e828b762SBram Moolenaarlibraries.  However, the Lesser license provides advantages in certain
87*e828b762SBram Moolenaarspecial circumstances.
88*e828b762SBram Moolenaar
89*e828b762SBram Moolenaar  For example, on rare occasions, there may be a special need to
90*e828b762SBram Moolenaarencourage the widest possible use of a certain library, so that it becomes
91*e828b762SBram Moolenaara de-facto standard.  To achieve this, non-free programs must be
92*e828b762SBram Moolenaarallowed to use the library.  A more frequent case is that a free
93*e828b762SBram Moolenaarlibrary does the same job as widely used non-free libraries.  In this
94*e828b762SBram Moolenaarcase, there is little to gain by limiting the free library to free
95*e828b762SBram Moolenaarsoftware only, so we use the Lesser General Public License.
96*e828b762SBram Moolenaar
97*e828b762SBram Moolenaar  In other cases, permission to use a particular library in non-free
98*e828b762SBram Moolenaarprograms enables a greater number of people to use a large body of
99*e828b762SBram Moolenaarfree software.  For example, permission to use the GNU C Library in
100*e828b762SBram Moolenaarnon-free programs enables many more people to use the whole GNU
101*e828b762SBram Moolenaaroperating system, as well as its variant, the GNU/Linux operating
102*e828b762SBram Moolenaarsystem.
103*e828b762SBram Moolenaar
104*e828b762SBram Moolenaar  Although the Lesser General Public License is Less protective of the
105*e828b762SBram Moolenaarusers' freedom, it does ensure that the user of a program that is
106*e828b762SBram Moolenaarlinked with the Library has the freedom and the wherewithal to run
107*e828b762SBram Moolenaarthat program using a modified version of the Library.
108*e828b762SBram Moolenaar
109*e828b762SBram Moolenaar  The precise terms and conditions for copying, distribution and
110*e828b762SBram Moolenaarmodification follow.  Pay close attention to the difference between a
111*e828b762SBram Moolenaar"work based on the library" and a "work that uses the library".  The
112*e828b762SBram Moolenaarformer contains code derived from the library, whereas the latter must
113*e828b762SBram Moolenaarbe combined with the library in order to run.
114*e828b762SBram Moolenaar
115*e828b762SBram Moolenaar		  GNU LESSER GENERAL PUBLIC LICENSE
116*e828b762SBram Moolenaar   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
117*e828b762SBram Moolenaar
118*e828b762SBram Moolenaar  0. This License Agreement applies to any software library or other
119*e828b762SBram Moolenaarprogram which contains a notice placed by the copyright holder or
120*e828b762SBram Moolenaarother authorized party saying it may be distributed under the terms of
121*e828b762SBram Moolenaarthis Lesser General Public License (also called "this License").
122*e828b762SBram MoolenaarEach licensee is addressed as "you".
123*e828b762SBram Moolenaar
124*e828b762SBram Moolenaar  A "library" means a collection of software functions and/or data
125*e828b762SBram Moolenaarprepared so as to be conveniently linked with application programs
126*e828b762SBram Moolenaar(which use some of those functions and data) to form executables.
127*e828b762SBram Moolenaar
128*e828b762SBram Moolenaar  The "Library", below, refers to any such software library or work
129*e828b762SBram Moolenaarwhich has been distributed under these terms.  A "work based on the
130*e828b762SBram MoolenaarLibrary" means either the Library or any derivative work under
131*e828b762SBram Moolenaarcopyright law: that is to say, a work containing the Library or a
132*e828b762SBram Moolenaarportion of it, either verbatim or with modifications and/or translated
133*e828b762SBram Moolenaarstraightforwardly into another language.  (Hereinafter, translation is
134*e828b762SBram Moolenaarincluded without limitation in the term "modification".)
135*e828b762SBram Moolenaar
136*e828b762SBram Moolenaar  "Source code" for a work means the preferred form of the work for
137*e828b762SBram Moolenaarmaking modifications to it.  For a library, complete source code means
138*e828b762SBram Moolenaarall the source code for all modules it contains, plus any associated
139*e828b762SBram Moolenaarinterface definition files, plus the scripts used to control compilation
140*e828b762SBram Moolenaarand installation of the library.
141*e828b762SBram Moolenaar
142*e828b762SBram Moolenaar  Activities other than copying, distribution and modification are not
143*e828b762SBram Moolenaarcovered by this License; they are outside its scope.  The act of
144*e828b762SBram Moolenaarrunning a program using the Library is not restricted, and output from
145*e828b762SBram Moolenaarsuch a program is covered only if its contents constitute a work based
146*e828b762SBram Moolenaaron the Library (independent of the use of the Library in a tool for
147*e828b762SBram Moolenaarwriting it).  Whether that is true depends on what the Library does
148*e828b762SBram Moolenaarand what the program that uses the Library does.
149*e828b762SBram Moolenaar
150*e828b762SBram Moolenaar  1. You may copy and distribute verbatim copies of the Library's
151*e828b762SBram Moolenaarcomplete source code as you receive it, in any medium, provided that
152*e828b762SBram Moolenaaryou conspicuously and appropriately publish on each copy an
153*e828b762SBram Moolenaarappropriate copyright notice and disclaimer of warranty; keep intact
154*e828b762SBram Moolenaarall the notices that refer to this License and to the absence of any
155*e828b762SBram Moolenaarwarranty; and distribute a copy of this License along with the
156*e828b762SBram MoolenaarLibrary.
157*e828b762SBram Moolenaar
158*e828b762SBram Moolenaar  You may charge a fee for the physical act of transferring a copy,
159*e828b762SBram Moolenaarand you may at your option offer warranty protection in exchange for a
160*e828b762SBram Moolenaarfee.
161*e828b762SBram Moolenaar
162*e828b762SBram Moolenaar  2. You may modify your copy or copies of the Library or any portion
163*e828b762SBram Moolenaarof it, thus forming a work based on the Library, and copy and
164*e828b762SBram Moolenaardistribute such modifications or work under the terms of Section 1
165*e828b762SBram Moolenaarabove, provided that you also meet all of these conditions:
166*e828b762SBram Moolenaar
167*e828b762SBram Moolenaar    a) The modified work must itself be a software library.
168*e828b762SBram Moolenaar
169*e828b762SBram Moolenaar    b) You must cause the files modified to carry prominent notices
170*e828b762SBram Moolenaar    stating that you changed the files and the date of any change.
171*e828b762SBram Moolenaar
172*e828b762SBram Moolenaar    c) You must cause the whole of the work to be licensed at no
173*e828b762SBram Moolenaar    charge to all third parties under the terms of this License.
174*e828b762SBram Moolenaar
175*e828b762SBram Moolenaar    d) If a facility in the modified Library refers to a function or a
176*e828b762SBram Moolenaar    table of data to be supplied by an application program that uses
177*e828b762SBram Moolenaar    the facility, other than as an argument passed when the facility
178*e828b762SBram Moolenaar    is invoked, then you must make a good faith effort to ensure that,
179*e828b762SBram Moolenaar    in the event an application does not supply such function or
180*e828b762SBram Moolenaar    table, the facility still operates, and performs whatever part of
181*e828b762SBram Moolenaar    its purpose remains meaningful.
182*e828b762SBram Moolenaar
183*e828b762SBram Moolenaar    (For example, a function in a library to compute square roots has
184*e828b762SBram Moolenaar    a purpose that is entirely well-defined independent of the
185*e828b762SBram Moolenaar    application.  Therefore, Subsection 2d requires that any
186*e828b762SBram Moolenaar    application-supplied function or table used by this function must
187*e828b762SBram Moolenaar    be optional: if the application does not supply it, the square
188*e828b762SBram Moolenaar    root function must still compute square roots.)
189*e828b762SBram Moolenaar
190*e828b762SBram MoolenaarThese requirements apply to the modified work as a whole.  If
191*e828b762SBram Moolenaaridentifiable sections of that work are not derived from the Library,
192*e828b762SBram Moolenaarand can be reasonably considered independent and separate works in
193*e828b762SBram Moolenaarthemselves, then this License, and its terms, do not apply to those
194*e828b762SBram Moolenaarsections when you distribute them as separate works.  But when you
195*e828b762SBram Moolenaardistribute the same sections as part of a whole which is a work based
196*e828b762SBram Moolenaaron the Library, the distribution of the whole must be on the terms of
197*e828b762SBram Moolenaarthis License, whose permissions for other licensees extend to the
198*e828b762SBram Moolenaarentire whole, and thus to each and every part regardless of who wrote
199*e828b762SBram Moolenaarit.
200*e828b762SBram Moolenaar
201*e828b762SBram MoolenaarThus, it is not the intent of this section to claim rights or contest
202*e828b762SBram Moolenaaryour rights to work written entirely by you; rather, the intent is to
203*e828b762SBram Moolenaarexercise the right to control the distribution of derivative or
204*e828b762SBram Moolenaarcollective works based on the Library.
205*e828b762SBram Moolenaar
206*e828b762SBram MoolenaarIn addition, mere aggregation of another work not based on the Library
207*e828b762SBram Moolenaarwith the Library (or with a work based on the Library) on a volume of
208*e828b762SBram Moolenaara storage or distribution medium does not bring the other work under
209*e828b762SBram Moolenaarthe scope of this License.
210*e828b762SBram Moolenaar
211*e828b762SBram Moolenaar  3. You may opt to apply the terms of the ordinary GNU General Public
212*e828b762SBram MoolenaarLicense instead of this License to a given copy of the Library.  To do
213*e828b762SBram Moolenaarthis, you must alter all the notices that refer to this License, so
214*e828b762SBram Moolenaarthat they refer to the ordinary GNU General Public License, version 2,
215*e828b762SBram Moolenaarinstead of to this License.  (If a newer version than version 2 of the
216*e828b762SBram Moolenaarordinary GNU General Public License has appeared, then you can specify
217*e828b762SBram Moolenaarthat version instead if you wish.)  Do not make any other change in
218*e828b762SBram Moolenaarthese notices.
219*e828b762SBram Moolenaar
220*e828b762SBram Moolenaar  Once this change is made in a given copy, it is irreversible for
221*e828b762SBram Moolenaarthat copy, so the ordinary GNU General Public License applies to all
222*e828b762SBram Moolenaarsubsequent copies and derivative works made from that copy.
223*e828b762SBram Moolenaar
224*e828b762SBram Moolenaar  This option is useful when you wish to copy part of the code of
225*e828b762SBram Moolenaarthe Library into a program that is not a library.
226*e828b762SBram Moolenaar
227*e828b762SBram Moolenaar  4. You may copy and distribute the Library (or a portion or
228*e828b762SBram Moolenaarderivative of it, under Section 2) in object code or executable form
229*e828b762SBram Moolenaarunder the terms of Sections 1 and 2 above provided that you accompany
230*e828b762SBram Moolenaarit with the complete corresponding machine-readable source code, which
231*e828b762SBram Moolenaarmust be distributed under the terms of Sections 1 and 2 above on a
232*e828b762SBram Moolenaarmedium customarily used for software interchange.
233*e828b762SBram Moolenaar
234*e828b762SBram Moolenaar  If distribution of object code is made by offering access to copy
235*e828b762SBram Moolenaarfrom a designated place, then offering equivalent access to copy the
236*e828b762SBram Moolenaarsource code from the same place satisfies the requirement to
237*e828b762SBram Moolenaardistribute the source code, even though third parties are not
238*e828b762SBram Moolenaarcompelled to copy the source along with the object code.
239*e828b762SBram Moolenaar
240*e828b762SBram Moolenaar  5. A program that contains no derivative of any portion of the
241*e828b762SBram MoolenaarLibrary, but is designed to work with the Library by being compiled or
242*e828b762SBram Moolenaarlinked with it, is called a "work that uses the Library".  Such a
243*e828b762SBram Moolenaarwork, in isolation, is not a derivative work of the Library, and
244*e828b762SBram Moolenaartherefore falls outside the scope of this License.
245*e828b762SBram Moolenaar
246*e828b762SBram Moolenaar  However, linking a "work that uses the Library" with the Library
247*e828b762SBram Moolenaarcreates an executable that is a derivative of the Library (because it
248*e828b762SBram Moolenaarcontains portions of the Library), rather than a "work that uses the
249*e828b762SBram Moolenaarlibrary".  The executable is therefore covered by this License.
250*e828b762SBram MoolenaarSection 6 states terms for distribution of such executables.
251*e828b762SBram Moolenaar
252*e828b762SBram Moolenaar  When a "work that uses the Library" uses material from a header file
253*e828b762SBram Moolenaarthat is part of the Library, the object code for the work may be a
254*e828b762SBram Moolenaarderivative work of the Library even though the source code is not.
255*e828b762SBram MoolenaarWhether this is true is especially significant if the work can be
256*e828b762SBram Moolenaarlinked without the Library, or if the work is itself a library.  The
257*e828b762SBram Moolenaarthreshold for this to be true is not precisely defined by law.
258*e828b762SBram Moolenaar
259*e828b762SBram Moolenaar  If such an object file uses only numerical parameters, data
260*e828b762SBram Moolenaarstructure layouts and accessors, and small macros and small inline
261*e828b762SBram Moolenaarfunctions (ten lines or less in length), then the use of the object
262*e828b762SBram Moolenaarfile is unrestricted, regardless of whether it is legally a derivative
263*e828b762SBram Moolenaarwork.  (Executables containing this object code plus portions of the
264*e828b762SBram MoolenaarLibrary will still fall under Section 6.)
265*e828b762SBram Moolenaar
266*e828b762SBram Moolenaar  Otherwise, if the work is a derivative of the Library, you may
267*e828b762SBram Moolenaardistribute the object code for the work under the terms of Section 6.
268*e828b762SBram MoolenaarAny executables containing that work also fall under Section 6,
269*e828b762SBram Moolenaarwhether or not they are linked directly with the Library itself.
270*e828b762SBram Moolenaar
271*e828b762SBram Moolenaar  6. As an exception to the Sections above, you may also combine or
272*e828b762SBram Moolenaarlink a "work that uses the Library" with the Library to produce a
273*e828b762SBram Moolenaarwork containing portions of the Library, and distribute that work
274*e828b762SBram Moolenaarunder terms of your choice, provided that the terms permit
275*e828b762SBram Moolenaarmodification of the work for the customer's own use and reverse
276*e828b762SBram Moolenaarengineering for debugging such modifications.
277*e828b762SBram Moolenaar
278*e828b762SBram Moolenaar  You must give prominent notice with each copy of the work that the
279*e828b762SBram MoolenaarLibrary is used in it and that the Library and its use are covered by
280*e828b762SBram Moolenaarthis License.  You must supply a copy of this License.  If the work
281*e828b762SBram Moolenaarduring execution displays copyright notices, you must include the
282*e828b762SBram Moolenaarcopyright notice for the Library among them, as well as a reference
283*e828b762SBram Moolenaardirecting the user to the copy of this License.  Also, you must do one
284*e828b762SBram Moolenaarof these things:
285*e828b762SBram Moolenaar
286*e828b762SBram Moolenaar    a) Accompany the work with the complete corresponding
287*e828b762SBram Moolenaar    machine-readable source code for the Library including whatever
288*e828b762SBram Moolenaar    changes were used in the work (which must be distributed under
289*e828b762SBram Moolenaar    Sections 1 and 2 above); and, if the work is an executable linked
290*e828b762SBram Moolenaar    with the Library, with the complete machine-readable "work that
291*e828b762SBram Moolenaar    uses the Library", as object code and/or source code, so that the
292*e828b762SBram Moolenaar    user can modify the Library and then relink to produce a modified
293*e828b762SBram Moolenaar    executable containing the modified Library.  (It is understood
294*e828b762SBram Moolenaar    that the user who changes the contents of definitions files in the
295*e828b762SBram Moolenaar    Library will not necessarily be able to recompile the application
296*e828b762SBram Moolenaar    to use the modified definitions.)
297*e828b762SBram Moolenaar
298*e828b762SBram Moolenaar    b) Use a suitable shared library mechanism for linking with the
299*e828b762SBram Moolenaar    Library.  A suitable mechanism is one that (1) uses at run time a
300*e828b762SBram Moolenaar    copy of the library already present on the user's computer system,
301*e828b762SBram Moolenaar    rather than copying library functions into the executable, and (2)
302*e828b762SBram Moolenaar    will operate properly with a modified version of the library, if
303*e828b762SBram Moolenaar    the user installs one, as long as the modified version is
304*e828b762SBram Moolenaar    interface-compatible with the version that the work was made with.
305*e828b762SBram Moolenaar
306*e828b762SBram Moolenaar    c) Accompany the work with a written offer, valid for at
307*e828b762SBram Moolenaar    least three years, to give the same user the materials
308*e828b762SBram Moolenaar    specified in Subsection 6a, above, for a charge no more
309*e828b762SBram Moolenaar    than the cost of performing this distribution.
310*e828b762SBram Moolenaar
311*e828b762SBram Moolenaar    d) If distribution of the work is made by offering access to copy
312*e828b762SBram Moolenaar    from a designated place, offer equivalent access to copy the above
313*e828b762SBram Moolenaar    specified materials from the same place.
314*e828b762SBram Moolenaar
315*e828b762SBram Moolenaar    e) Verify that the user has already received a copy of these
316*e828b762SBram Moolenaar    materials or that you have already sent this user a copy.
317*e828b762SBram Moolenaar
318*e828b762SBram Moolenaar  For an executable, the required form of the "work that uses the
319*e828b762SBram MoolenaarLibrary" must include any data and utility programs needed for
320*e828b762SBram Moolenaarreproducing the executable from it.  However, as a special exception,
321*e828b762SBram Moolenaarthe materials to be distributed need not include anything that is
322*e828b762SBram Moolenaarnormally distributed (in either source or binary form) with the major
323*e828b762SBram Moolenaarcomponents (compiler, kernel, and so on) of the operating system on
324*e828b762SBram Moolenaarwhich the executable runs, unless that component itself accompanies
325*e828b762SBram Moolenaarthe executable.
326*e828b762SBram Moolenaar
327*e828b762SBram Moolenaar  It may happen that this requirement contradicts the license
328*e828b762SBram Moolenaarrestrictions of other proprietary libraries that do not normally
329*e828b762SBram Moolenaaraccompany the operating system.  Such a contradiction means you cannot
330*e828b762SBram Moolenaaruse both them and the Library together in an executable that you
331*e828b762SBram Moolenaardistribute.
332*e828b762SBram Moolenaar
333*e828b762SBram Moolenaar  7. You may place library facilities that are a work based on the
334*e828b762SBram MoolenaarLibrary side-by-side in a single library together with other library
335*e828b762SBram Moolenaarfacilities not covered by this License, and distribute such a combined
336*e828b762SBram Moolenaarlibrary, provided that the separate distribution of the work based on
337*e828b762SBram Moolenaarthe Library and of the other library facilities is otherwise
338*e828b762SBram Moolenaarpermitted, and provided that you do these two things:
339*e828b762SBram Moolenaar
340*e828b762SBram Moolenaar    a) Accompany the combined library with a copy of the same work
341*e828b762SBram Moolenaar    based on the Library, uncombined with any other library
342*e828b762SBram Moolenaar    facilities.  This must be distributed under the terms of the
343*e828b762SBram Moolenaar    Sections above.
344*e828b762SBram Moolenaar
345*e828b762SBram Moolenaar    b) Give prominent notice with the combined library of the fact
346*e828b762SBram Moolenaar    that part of it is a work based on the Library, and explaining
347*e828b762SBram Moolenaar    where to find the accompanying uncombined form of the same work.
348*e828b762SBram Moolenaar
349*e828b762SBram Moolenaar  8. You may not copy, modify, sublicense, link with, or distribute
350*e828b762SBram Moolenaarthe Library except as expressly provided under this License.  Any
351*e828b762SBram Moolenaarattempt otherwise to copy, modify, sublicense, link with, or
352*e828b762SBram Moolenaardistribute the Library is void, and will automatically terminate your
353*e828b762SBram Moolenaarrights under this License.  However, parties who have received copies,
354*e828b762SBram Moolenaaror rights, from you under this License will not have their licenses
355*e828b762SBram Moolenaarterminated so long as such parties remain in full compliance.
356*e828b762SBram Moolenaar
357*e828b762SBram Moolenaar  9. You are not required to accept this License, since you have not
358*e828b762SBram Moolenaarsigned it.  However, nothing else grants you permission to modify or
359*e828b762SBram Moolenaardistribute the Library or its derivative works.  These actions are
360*e828b762SBram Moolenaarprohibited by law if you do not accept this License.  Therefore, by
361*e828b762SBram Moolenaarmodifying or distributing the Library (or any work based on the
362*e828b762SBram MoolenaarLibrary), you indicate your acceptance of this License to do so, and
363*e828b762SBram Moolenaarall its terms and conditions for copying, distributing or modifying
364*e828b762SBram Moolenaarthe Library or works based on it.
365*e828b762SBram Moolenaar
366*e828b762SBram Moolenaar  10. Each time you redistribute the Library (or any work based on the
367*e828b762SBram MoolenaarLibrary), the recipient automatically receives a license from the
368*e828b762SBram Moolenaaroriginal licensor to copy, distribute, link with or modify the Library
369*e828b762SBram Moolenaarsubject to these terms and conditions.  You may not impose any further
370*e828b762SBram Moolenaarrestrictions on the recipients' exercise of the rights granted herein.
371*e828b762SBram MoolenaarYou are not responsible for enforcing compliance by third parties with
372*e828b762SBram Moolenaarthis License.
373*e828b762SBram Moolenaar
374*e828b762SBram Moolenaar  11. If, as a consequence of a court judgment or allegation of patent
375*e828b762SBram Moolenaarinfringement or for any other reason (not limited to patent issues),
376*e828b762SBram Moolenaarconditions are imposed on you (whether by court order, agreement or
377*e828b762SBram Moolenaarotherwise) that contradict the conditions of this License, they do not
378*e828b762SBram Moolenaarexcuse you from the conditions of this License.  If you cannot
379*e828b762SBram Moolenaardistribute so as to satisfy simultaneously your obligations under this
380*e828b762SBram MoolenaarLicense and any other pertinent obligations, then as a consequence you
381*e828b762SBram Moolenaarmay not distribute the Library at all.  For example, if a patent
382*e828b762SBram Moolenaarlicense would not permit royalty-free redistribution of the Library by
383*e828b762SBram Moolenaarall those who receive copies directly or indirectly through you, then
384*e828b762SBram Moolenaarthe only way you could satisfy both it and this License would be to
385*e828b762SBram Moolenaarrefrain entirely from distribution of the Library.
386*e828b762SBram Moolenaar
387*e828b762SBram MoolenaarIf any portion of this section is held invalid or unenforceable under any
388*e828b762SBram Moolenaarparticular circumstance, the balance of the section is intended to apply,
389*e828b762SBram Moolenaarand the section as a whole is intended to apply in other circumstances.
390*e828b762SBram Moolenaar
391*e828b762SBram MoolenaarIt is not the purpose of this section to induce you to infringe any
392*e828b762SBram Moolenaarpatents or other property right claims or to contest validity of any
393*e828b762SBram Moolenaarsuch claims; this section has the sole purpose of protecting the
394*e828b762SBram Moolenaarintegrity of the free software distribution system which is
395*e828b762SBram Moolenaarimplemented by public license practices.  Many people have made
396*e828b762SBram Moolenaargenerous contributions to the wide range of software distributed
397*e828b762SBram Moolenaarthrough that system in reliance on consistent application of that
398*e828b762SBram Moolenaarsystem; it is up to the author/donor to decide if he or she is willing
399*e828b762SBram Moolenaarto distribute software through any other system and a licensee cannot
400*e828b762SBram Moolenaarimpose that choice.
401*e828b762SBram Moolenaar
402*e828b762SBram MoolenaarThis section is intended to make thoroughly clear what is believed to
403*e828b762SBram Moolenaarbe a consequence of the rest of this License.
404*e828b762SBram Moolenaar
405*e828b762SBram Moolenaar  12. If the distribution and/or use of the Library is restricted in
406*e828b762SBram Moolenaarcertain countries either by patents or by copyrighted interfaces, the
407*e828b762SBram Moolenaaroriginal copyright holder who places the Library under this License may add
408*e828b762SBram Moolenaaran explicit geographical distribution limitation excluding those countries,
409*e828b762SBram Moolenaarso that distribution is permitted only in or among countries not thus
410*e828b762SBram Moolenaarexcluded.  In such case, this License incorporates the limitation as if
411*e828b762SBram Moolenaarwritten in the body of this License.
412*e828b762SBram Moolenaar
413*e828b762SBram Moolenaar  13. The Free Software Foundation may publish revised and/or new
414*e828b762SBram Moolenaarversions of the Lesser General Public License from time to time.
415*e828b762SBram MoolenaarSuch new versions will be similar in spirit to the present version,
416*e828b762SBram Moolenaarbut may differ in detail to address new problems or concerns.
417*e828b762SBram Moolenaar
418*e828b762SBram MoolenaarEach version is given a distinguishing version number.  If the Library
419*e828b762SBram Moolenaarspecifies a version number of this License which applies to it and
420*e828b762SBram Moolenaar"any later version", you have the option of following the terms and
421*e828b762SBram Moolenaarconditions either of that version or of any later version published by
422*e828b762SBram Moolenaarthe Free Software Foundation.  If the Library does not specify a
423*e828b762SBram Moolenaarlicense version number, you may choose any version ever published by
424*e828b762SBram Moolenaarthe Free Software Foundation.
425*e828b762SBram Moolenaar
426*e828b762SBram Moolenaar  14. If you wish to incorporate parts of the Library into other free
427*e828b762SBram Moolenaarprograms whose distribution conditions are incompatible with these,
428*e828b762SBram Moolenaarwrite to the author to ask for permission.  For software which is
429*e828b762SBram Moolenaarcopyrighted by the Free Software Foundation, write to the Free
430*e828b762SBram MoolenaarSoftware Foundation; we sometimes make exceptions for this.  Our
431*e828b762SBram Moolenaardecision will be guided by the two goals of preserving the free status
432*e828b762SBram Moolenaarof all derivatives of our free software and of promoting the sharing
433*e828b762SBram Moolenaarand reuse of software generally.
434*e828b762SBram Moolenaar
435*e828b762SBram Moolenaar			    NO WARRANTY
436*e828b762SBram Moolenaar
437*e828b762SBram Moolenaar  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
438*e828b762SBram MoolenaarWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
439*e828b762SBram MoolenaarEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
440*e828b762SBram MoolenaarOTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
441*e828b762SBram MoolenaarKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
442*e828b762SBram MoolenaarIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
443*e828b762SBram MoolenaarPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
444*e828b762SBram MoolenaarLIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
445*e828b762SBram MoolenaarTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
446*e828b762SBram Moolenaar
447*e828b762SBram Moolenaar  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
448*e828b762SBram MoolenaarWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
449*e828b762SBram MoolenaarAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
450*e828b762SBram MoolenaarFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
451*e828b762SBram MoolenaarCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
452*e828b762SBram MoolenaarLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
453*e828b762SBram MoolenaarRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
454*e828b762SBram MoolenaarFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
455*e828b762SBram MoolenaarSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
456*e828b762SBram MoolenaarDAMAGES.
457*e828b762SBram Moolenaar
458*e828b762SBram Moolenaar		     END OF TERMS AND CONDITIONS
459*e828b762SBram Moolenaar
460*e828b762SBram Moolenaar           How to Apply These Terms to Your New Libraries
461*e828b762SBram Moolenaar
462*e828b762SBram Moolenaar  If you develop a new library, and you want it to be of the greatest
463*e828b762SBram Moolenaarpossible use to the public, we recommend making it free software that
464*e828b762SBram Moolenaareveryone can redistribute and change.  You can do so by permitting
465*e828b762SBram Moolenaarredistribution under these terms (or, alternatively, under the terms of the
466*e828b762SBram Moolenaarordinary General Public License).
467*e828b762SBram Moolenaar
468*e828b762SBram Moolenaar  To apply these terms, attach the following notices to the library.  It is
469*e828b762SBram Moolenaarsafest to attach them to the start of each source file to most effectively
470*e828b762SBram Moolenaarconvey the exclusion of warranty; and each file should have at least the
471*e828b762SBram Moolenaar"copyright" line and a pointer to where the full notice is found.
472*e828b762SBram Moolenaar
473*e828b762SBram Moolenaar    <one line to give the library's name and a brief idea of what it does.>
474*e828b762SBram Moolenaar    Copyright (C) <year>  <name of author>
475*e828b762SBram Moolenaar
476*e828b762SBram Moolenaar    This library is free software; you can redistribute it and/or
477*e828b762SBram Moolenaar    modify it under the terms of the GNU Lesser General Public
478*e828b762SBram Moolenaar    License as published by the Free Software Foundation; either
479*e828b762SBram Moolenaar    version 2.1 of the License, or (at your option) any later version.
480*e828b762SBram Moolenaar
481*e828b762SBram Moolenaar    This library is distributed in the hope that it will be useful,
482*e828b762SBram Moolenaar    but WITHOUT ANY WARRANTY; without even the implied warranty of
483*e828b762SBram Moolenaar    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
484*e828b762SBram Moolenaar    Lesser General Public License for more details.
485*e828b762SBram Moolenaar
486*e828b762SBram Moolenaar    You should have received a copy of the GNU Lesser General Public
487*e828b762SBram Moolenaar    License along with this library; if not, write to the Free Software
488*e828b762SBram Moolenaar    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
489*e828b762SBram Moolenaar
490*e828b762SBram MoolenaarAlso add information on how to contact you by electronic and paper mail.
491*e828b762SBram Moolenaar
492*e828b762SBram MoolenaarYou should also get your employer (if you work as a programmer) or your
493*e828b762SBram Moolenaarschool, if any, to sign a "copyright disclaimer" for the library, if
494*e828b762SBram Moolenaarnecessary.  Here is a sample; alter the names:
495*e828b762SBram Moolenaar
496*e828b762SBram Moolenaar  Yoyodyne, Inc., hereby disclaims all copyright interest in the
497*e828b762SBram Moolenaar  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
498*e828b762SBram Moolenaar
499*e828b762SBram Moolenaar  <signature of Ty Coon>, 1 April 1990
500*e828b762SBram Moolenaar  Ty Coon, President of Vice
501*e828b762SBram Moolenaar
502*e828b762SBram MoolenaarThat's all there is to it!
503*e828b762SBram Moolenaar
504*e828b762SBram Moolenaar
505