xref: /illumos-gate/usr/src/tools/smatch/src/GPL-2 (revision 1f5207b7)
1*1f5207b7SJohn Levon                    GNU GENERAL PUBLIC LICENSE
2*1f5207b7SJohn Levon                       Version 2, June 1991
3*1f5207b7SJohn Levon
4*1f5207b7SJohn Levon Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5*1f5207b7SJohn Levon 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6*1f5207b7SJohn Levon Everyone is permitted to copy and distribute verbatim copies
7*1f5207b7SJohn Levon of this license document, but changing it is not allowed.
8*1f5207b7SJohn Levon
9*1f5207b7SJohn Levon                            Preamble
10*1f5207b7SJohn Levon
11*1f5207b7SJohn Levon  The licenses for most software are designed to take away your
12*1f5207b7SJohn Levonfreedom to share and change it.  By contrast, the GNU General Public
13*1f5207b7SJohn LevonLicense is intended to guarantee your freedom to share and change free
14*1f5207b7SJohn Levonsoftware--to make sure the software is free for all its users.  This
15*1f5207b7SJohn LevonGeneral Public License applies to most of the Free Software
16*1f5207b7SJohn LevonFoundation's software and to any other program whose authors commit to
17*1f5207b7SJohn Levonusing it.  (Some other Free Software Foundation software is covered by
18*1f5207b7SJohn Levonthe GNU Lesser General Public License instead.)  You can apply it to
19*1f5207b7SJohn Levonyour programs, too.
20*1f5207b7SJohn Levon
21*1f5207b7SJohn Levon  When we speak of free software, we are referring to freedom, not
22*1f5207b7SJohn Levonprice.  Our General Public Licenses are designed to make sure that you
23*1f5207b7SJohn Levonhave the freedom to distribute copies of free software (and charge for
24*1f5207b7SJohn Levonthis service if you wish), that you receive source code or can get it
25*1f5207b7SJohn Levonif you want it, that you can change the software or use pieces of it
26*1f5207b7SJohn Levonin new free programs; and that you know you can do these things.
27*1f5207b7SJohn Levon
28*1f5207b7SJohn Levon  To protect your rights, we need to make restrictions that forbid
29*1f5207b7SJohn Levonanyone to deny you these rights or to ask you to surrender the rights.
30*1f5207b7SJohn LevonThese restrictions translate to certain responsibilities for you if you
31*1f5207b7SJohn Levondistribute copies of the software, or if you modify it.
32*1f5207b7SJohn Levon
33*1f5207b7SJohn Levon  For example, if you distribute copies of such a program, whether
34*1f5207b7SJohn Levongratis or for a fee, you must give the recipients all the rights that
35*1f5207b7SJohn Levonyou have.  You must make sure that they, too, receive or can get the
36*1f5207b7SJohn Levonsource code.  And you must show them these terms so they know their
37*1f5207b7SJohn Levonrights.
38*1f5207b7SJohn Levon
39*1f5207b7SJohn Levon  We protect your rights with two steps: (1) copyright the software, and
40*1f5207b7SJohn Levon(2) offer you this license which gives you legal permission to copy,
41*1f5207b7SJohn Levondistribute and/or modify the software.
42*1f5207b7SJohn Levon
43*1f5207b7SJohn Levon  Also, for each author's protection and ours, we want to make certain
44*1f5207b7SJohn Levonthat everyone understands that there is no warranty for this free
45*1f5207b7SJohn Levonsoftware.  If the software is modified by someone else and passed on, we
46*1f5207b7SJohn Levonwant its recipients to know that what they have is not the original, so
47*1f5207b7SJohn Levonthat any problems introduced by others will not reflect on the original
48*1f5207b7SJohn Levonauthors' reputations.
49*1f5207b7SJohn Levon
50*1f5207b7SJohn Levon  Finally, any free program is threatened constantly by software
51*1f5207b7SJohn Levonpatents.  We wish to avoid the danger that redistributors of a free
52*1f5207b7SJohn Levonprogram will individually obtain patent licenses, in effect making the
53*1f5207b7SJohn Levonprogram proprietary.  To prevent this, we have made it clear that any
54*1f5207b7SJohn Levonpatent must be licensed for everyone's free use or not licensed at all.
55*1f5207b7SJohn Levon
56*1f5207b7SJohn Levon  The precise terms and conditions for copying, distribution and
57*1f5207b7SJohn Levonmodification follow.
58*1f5207b7SJohn Levon
59*1f5207b7SJohn Levon                    GNU GENERAL PUBLIC LICENSE
60*1f5207b7SJohn Levon   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61*1f5207b7SJohn Levon
62*1f5207b7SJohn Levon  0. This License applies to any program or other work which contains
63*1f5207b7SJohn Levona notice placed by the copyright holder saying it may be distributed
64*1f5207b7SJohn Levonunder the terms of this General Public License.  The "Program", below,
65*1f5207b7SJohn Levonrefers to any such program or work, and a "work based on the Program"
66*1f5207b7SJohn Levonmeans either the Program or any derivative work under copyright law:
67*1f5207b7SJohn Levonthat is to say, a work containing the Program or a portion of it,
68*1f5207b7SJohn Levoneither verbatim or with modifications and/or translated into another
69*1f5207b7SJohn Levonlanguage.  (Hereinafter, translation is included without limitation in
70*1f5207b7SJohn Levonthe term "modification".)  Each licensee is addressed as "you".
71*1f5207b7SJohn Levon
72*1f5207b7SJohn LevonActivities other than copying, distribution and modification are not
73*1f5207b7SJohn Levoncovered by this License; they are outside its scope.  The act of
74*1f5207b7SJohn Levonrunning the Program is not restricted, and the output from the Program
75*1f5207b7SJohn Levonis covered only if its contents constitute a work based on the
76*1f5207b7SJohn LevonProgram (independent of having been made by running the Program).
77*1f5207b7SJohn LevonWhether that is true depends on what the Program does.
78*1f5207b7SJohn Levon
79*1f5207b7SJohn Levon  1. You may copy and distribute verbatim copies of the Program's
80*1f5207b7SJohn Levonsource code as you receive it, in any medium, provided that you
81*1f5207b7SJohn Levonconspicuously and appropriately publish on each copy an appropriate
82*1f5207b7SJohn Levoncopyright notice and disclaimer of warranty; keep intact all the
83*1f5207b7SJohn Levonnotices that refer to this License and to the absence of any warranty;
84*1f5207b7SJohn Levonand give any other recipients of the Program a copy of this License
85*1f5207b7SJohn Levonalong with the Program.
86*1f5207b7SJohn Levon
87*1f5207b7SJohn LevonYou may charge a fee for the physical act of transferring a copy, and
88*1f5207b7SJohn Levonyou may at your option offer warranty protection in exchange for a fee.
89*1f5207b7SJohn Levon
90*1f5207b7SJohn Levon  2. You may modify your copy or copies of the Program or any portion
91*1f5207b7SJohn Levonof it, thus forming a work based on the Program, and copy and
92*1f5207b7SJohn Levondistribute such modifications or work under the terms of Section 1
93*1f5207b7SJohn Levonabove, provided that you also meet all of these conditions:
94*1f5207b7SJohn Levon
95*1f5207b7SJohn Levon    a) You must cause the modified files to carry prominent notices
96*1f5207b7SJohn Levon    stating that you changed the files and the date of any change.
97*1f5207b7SJohn Levon
98*1f5207b7SJohn Levon    b) You must cause any work that you distribute or publish, that in
99*1f5207b7SJohn Levon    whole or in part contains or is derived from the Program or any
100*1f5207b7SJohn Levon    part thereof, to be licensed as a whole at no charge to all third
101*1f5207b7SJohn Levon    parties under the terms of this License.
102*1f5207b7SJohn Levon
103*1f5207b7SJohn Levon    c) If the modified program normally reads commands interactively
104*1f5207b7SJohn Levon    when run, you must cause it, when started running for such
105*1f5207b7SJohn Levon    interactive use in the most ordinary way, to print or display an
106*1f5207b7SJohn Levon    announcement including an appropriate copyright notice and a
107*1f5207b7SJohn Levon    notice that there is no warranty (or else, saying that you provide
108*1f5207b7SJohn Levon    a warranty) and that users may redistribute the program under
109*1f5207b7SJohn Levon    these conditions, and telling the user how to view a copy of this
110*1f5207b7SJohn Levon    License.  (Exception: if the Program itself is interactive but
111*1f5207b7SJohn Levon    does not normally print such an announcement, your work based on
112*1f5207b7SJohn Levon    the Program is not required to print an announcement.)
113*1f5207b7SJohn Levon
114*1f5207b7SJohn LevonThese requirements apply to the modified work as a whole.  If
115*1f5207b7SJohn Levonidentifiable sections of that work are not derived from the Program,
116*1f5207b7SJohn Levonand can be reasonably considered independent and separate works in
117*1f5207b7SJohn Levonthemselves, then this License, and its terms, do not apply to those
118*1f5207b7SJohn Levonsections when you distribute them as separate works.  But when you
119*1f5207b7SJohn Levondistribute the same sections as part of a whole which is a work based
120*1f5207b7SJohn Levonon the Program, the distribution of the whole must be on the terms of
121*1f5207b7SJohn Levonthis License, whose permissions for other licensees extend to the
122*1f5207b7SJohn Levonentire whole, and thus to each and every part regardless of who wrote it.
123*1f5207b7SJohn Levon
124*1f5207b7SJohn LevonThus, it is not the intent of this section to claim rights or contest
125*1f5207b7SJohn Levonyour rights to work written entirely by you; rather, the intent is to
126*1f5207b7SJohn Levonexercise the right to control the distribution of derivative or
127*1f5207b7SJohn Levoncollective works based on the Program.
128*1f5207b7SJohn Levon
129*1f5207b7SJohn LevonIn addition, mere aggregation of another work not based on the Program
130*1f5207b7SJohn Levonwith the Program (or with a work based on the Program) on a volume of
131*1f5207b7SJohn Levona storage or distribution medium does not bring the other work under
132*1f5207b7SJohn Levonthe scope of this License.
133*1f5207b7SJohn Levon
134*1f5207b7SJohn Levon  3. You may copy and distribute the Program (or a work based on it,
135*1f5207b7SJohn Levonunder Section 2) in object code or executable form under the terms of
136*1f5207b7SJohn LevonSections 1 and 2 above provided that you also do one of the following:
137*1f5207b7SJohn Levon
138*1f5207b7SJohn Levon    a) Accompany it with the complete corresponding machine-readable
139*1f5207b7SJohn Levon    source code, which must be distributed under the terms of Sections
140*1f5207b7SJohn Levon    1 and 2 above on a medium customarily used for software interchange; or,
141*1f5207b7SJohn Levon
142*1f5207b7SJohn Levon    b) Accompany it with a written offer, valid for at least three
143*1f5207b7SJohn Levon    years, to give any third party, for a charge no more than your
144*1f5207b7SJohn Levon    cost of physically performing source distribution, a complete
145*1f5207b7SJohn Levon    machine-readable copy of the corresponding source code, to be
146*1f5207b7SJohn Levon    distributed under the terms of Sections 1 and 2 above on a medium
147*1f5207b7SJohn Levon    customarily used for software interchange; or,
148*1f5207b7SJohn Levon
149*1f5207b7SJohn Levon    c) Accompany it with the information you received as to the offer
150*1f5207b7SJohn Levon    to distribute corresponding source code.  (This alternative is
151*1f5207b7SJohn Levon    allowed only for noncommercial distribution and only if you
152*1f5207b7SJohn Levon    received the program in object code or executable form with such
153*1f5207b7SJohn Levon    an offer, in accord with Subsection b above.)
154*1f5207b7SJohn Levon
155*1f5207b7SJohn LevonThe source code for a work means the preferred form of the work for
156*1f5207b7SJohn Levonmaking modifications to it.  For an executable work, complete source
157*1f5207b7SJohn Levoncode means all the source code for all modules it contains, plus any
158*1f5207b7SJohn Levonassociated interface definition files, plus the scripts used to
159*1f5207b7SJohn Levoncontrol compilation and installation of the executable.  However, as a
160*1f5207b7SJohn Levonspecial exception, the source code distributed need not include
161*1f5207b7SJohn Levonanything that is normally distributed (in either source or binary
162*1f5207b7SJohn Levonform) with the major components (compiler, kernel, and so on) of the
163*1f5207b7SJohn Levonoperating system on which the executable runs, unless that component
164*1f5207b7SJohn Levonitself accompanies the executable.
165*1f5207b7SJohn Levon
166*1f5207b7SJohn LevonIf distribution of executable or object code is made by offering
167*1f5207b7SJohn Levonaccess to copy from a designated place, then offering equivalent
168*1f5207b7SJohn Levonaccess to copy the source code from the same place counts as
169*1f5207b7SJohn Levondistribution of the source code, even though third parties are not
170*1f5207b7SJohn Levoncompelled to copy the source along with the object code.
171*1f5207b7SJohn Levon
172*1f5207b7SJohn Levon  4. You may not copy, modify, sublicense, or distribute the Program
173*1f5207b7SJohn Levonexcept as expressly provided under this License.  Any attempt
174*1f5207b7SJohn Levonotherwise to copy, modify, sublicense or distribute the Program is
175*1f5207b7SJohn Levonvoid, and will automatically terminate your rights under this License.
176*1f5207b7SJohn LevonHowever, parties who have received copies, or rights, from you under
177*1f5207b7SJohn Levonthis License will not have their licenses terminated so long as such
178*1f5207b7SJohn Levonparties remain in full compliance.
179*1f5207b7SJohn Levon
180*1f5207b7SJohn Levon  5. You are not required to accept this License, since you have not
181*1f5207b7SJohn Levonsigned it.  However, nothing else grants you permission to modify or
182*1f5207b7SJohn Levondistribute the Program or its derivative works.  These actions are
183*1f5207b7SJohn Levonprohibited by law if you do not accept this License.  Therefore, by
184*1f5207b7SJohn Levonmodifying or distributing the Program (or any work based on the
185*1f5207b7SJohn LevonProgram), you indicate your acceptance of this License to do so, and
186*1f5207b7SJohn Levonall its terms and conditions for copying, distributing or modifying
187*1f5207b7SJohn Levonthe Program or works based on it.
188*1f5207b7SJohn Levon
189*1f5207b7SJohn Levon  6. Each time you redistribute the Program (or any work based on the
190*1f5207b7SJohn LevonProgram), the recipient automatically receives a license from the
191*1f5207b7SJohn Levonoriginal licensor to copy, distribute or modify the Program subject to
192*1f5207b7SJohn Levonthese terms and conditions.  You may not impose any further
193*1f5207b7SJohn Levonrestrictions on the recipients' exercise of the rights granted herein.
194*1f5207b7SJohn LevonYou are not responsible for enforcing compliance by third parties to
195*1f5207b7SJohn Levonthis License.
196*1f5207b7SJohn Levon
197*1f5207b7SJohn Levon  7. If, as a consequence of a court judgment or allegation of patent
198*1f5207b7SJohn Levoninfringement or for any other reason (not limited to patent issues),
199*1f5207b7SJohn Levonconditions are imposed on you (whether by court order, agreement or
200*1f5207b7SJohn Levonotherwise) that contradict the conditions of this License, they do not
201*1f5207b7SJohn Levonexcuse you from the conditions of this License.  If you cannot
202*1f5207b7SJohn Levondistribute so as to satisfy simultaneously your obligations under this
203*1f5207b7SJohn LevonLicense and any other pertinent obligations, then as a consequence you
204*1f5207b7SJohn Levonmay not distribute the Program at all.  For example, if a patent
205*1f5207b7SJohn Levonlicense would not permit royalty-free redistribution of the Program by
206*1f5207b7SJohn Levonall those who receive copies directly or indirectly through you, then
207*1f5207b7SJohn Levonthe only way you could satisfy both it and this License would be to
208*1f5207b7SJohn Levonrefrain entirely from distribution of the Program.
209*1f5207b7SJohn Levon
210*1f5207b7SJohn LevonIf any portion of this section is held invalid or unenforceable under
211*1f5207b7SJohn Levonany particular circumstance, the balance of the section is intended to
212*1f5207b7SJohn Levonapply and the section as a whole is intended to apply in other
213*1f5207b7SJohn Levoncircumstances.
214*1f5207b7SJohn Levon
215*1f5207b7SJohn LevonIt is not the purpose of this section to induce you to infringe any
216*1f5207b7SJohn Levonpatents or other property right claims or to contest validity of any
217*1f5207b7SJohn Levonsuch claims; this section has the sole purpose of protecting the
218*1f5207b7SJohn Levonintegrity of the free software distribution system, which is
219*1f5207b7SJohn Levonimplemented by public license practices.  Many people have made
220*1f5207b7SJohn Levongenerous contributions to the wide range of software distributed
221*1f5207b7SJohn Levonthrough that system in reliance on consistent application of that
222*1f5207b7SJohn Levonsystem; it is up to the author/donor to decide if he or she is willing
223*1f5207b7SJohn Levonto distribute software through any other system and a licensee cannot
224*1f5207b7SJohn Levonimpose that choice.
225*1f5207b7SJohn Levon
226*1f5207b7SJohn LevonThis section is intended to make thoroughly clear what is believed to
227*1f5207b7SJohn Levonbe a consequence of the rest of this License.
228*1f5207b7SJohn Levon
229*1f5207b7SJohn Levon  8. If the distribution and/or use of the Program is restricted in
230*1f5207b7SJohn Levoncertain countries either by patents or by copyrighted interfaces, the
231*1f5207b7SJohn Levonoriginal copyright holder who places the Program under this License
232*1f5207b7SJohn Levonmay add an explicit geographical distribution limitation excluding
233*1f5207b7SJohn Levonthose countries, so that distribution is permitted only in or among
234*1f5207b7SJohn Levoncountries not thus excluded.  In such case, this License incorporates
235*1f5207b7SJohn Levonthe limitation as if written in the body of this License.
236*1f5207b7SJohn Levon
237*1f5207b7SJohn Levon  9. The Free Software Foundation may publish revised and/or new versions
238*1f5207b7SJohn Levonof the General Public License from time to time.  Such new versions will
239*1f5207b7SJohn Levonbe similar in spirit to the present version, but may differ in detail to
240*1f5207b7SJohn Levonaddress new problems or concerns.
241*1f5207b7SJohn Levon
242*1f5207b7SJohn LevonEach version is given a distinguishing version number.  If the Program
243*1f5207b7SJohn Levonspecifies a version number of this License which applies to it and "any
244*1f5207b7SJohn Levonlater version", you have the option of following the terms and conditions
245*1f5207b7SJohn Levoneither of that version or of any later version published by the Free
246*1f5207b7SJohn LevonSoftware Foundation.  If the Program does not specify a version number of
247*1f5207b7SJohn Levonthis License, you may choose any version ever published by the Free Software
248*1f5207b7SJohn LevonFoundation.
249*1f5207b7SJohn Levon
250*1f5207b7SJohn Levon  10. If you wish to incorporate parts of the Program into other free
251*1f5207b7SJohn Levonprograms whose distribution conditions are different, write to the author
252*1f5207b7SJohn Levonto ask for permission.  For software which is copyrighted by the Free
253*1f5207b7SJohn LevonSoftware Foundation, write to the Free Software Foundation; we sometimes
254*1f5207b7SJohn Levonmake exceptions for this.  Our decision will be guided by the two goals
255*1f5207b7SJohn Levonof preserving the free status of all derivatives of our free software and
256*1f5207b7SJohn Levonof promoting the sharing and reuse of software generally.
257*1f5207b7SJohn Levon
258*1f5207b7SJohn Levon                            NO WARRANTY
259*1f5207b7SJohn Levon
260*1f5207b7SJohn Levon  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261*1f5207b7SJohn LevonFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262*1f5207b7SJohn LevonOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263*1f5207b7SJohn LevonPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264*1f5207b7SJohn LevonOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265*1f5207b7SJohn LevonMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266*1f5207b7SJohn LevonTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267*1f5207b7SJohn LevonPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268*1f5207b7SJohn LevonREPAIR OR CORRECTION.
269*1f5207b7SJohn Levon
270*1f5207b7SJohn Levon  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271*1f5207b7SJohn LevonWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272*1f5207b7SJohn LevonREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273*1f5207b7SJohn LevonINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274*1f5207b7SJohn LevonOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275*1f5207b7SJohn LevonTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276*1f5207b7SJohn LevonYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277*1f5207b7SJohn LevonPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278*1f5207b7SJohn LevonPOSSIBILITY OF SUCH DAMAGES.
279*1f5207b7SJohn Levon
280*1f5207b7SJohn Levon                     END OF TERMS AND CONDITIONS
281*1f5207b7SJohn Levon
282*1f5207b7SJohn Levon            How to Apply These Terms to Your New Programs
283*1f5207b7SJohn Levon
284*1f5207b7SJohn Levon  If you develop a new program, and you want it to be of the greatest
285*1f5207b7SJohn Levonpossible use to the public, the best way to achieve this is to make it
286*1f5207b7SJohn Levonfree software which everyone can redistribute and change under these terms.
287*1f5207b7SJohn Levon
288*1f5207b7SJohn Levon  To do so, attach the following notices to the program.  It is safest
289*1f5207b7SJohn Levonto attach them to the start of each source file to most effectively
290*1f5207b7SJohn Levonconvey the exclusion of warranty; and each file should have at least
291*1f5207b7SJohn Levonthe "copyright" line and a pointer to where the full notice is found.
292*1f5207b7SJohn Levon
293*1f5207b7SJohn Levon    <one line to give the program's name and a brief idea of what it does.>
294*1f5207b7SJohn Levon    Copyright (C) <year>  <name of author>
295*1f5207b7SJohn Levon
296*1f5207b7SJohn Levon    This program is free software; you can redistribute it and/or modify
297*1f5207b7SJohn Levon    it under the terms of the GNU General Public License as published by
298*1f5207b7SJohn Levon    the Free Software Foundation; either version 2 of the License, or
299*1f5207b7SJohn Levon    (at your option) any later version.
300*1f5207b7SJohn Levon
301*1f5207b7SJohn Levon    This program is distributed in the hope that it will be useful,
302*1f5207b7SJohn Levon    but WITHOUT ANY WARRANTY; without even the implied warranty of
303*1f5207b7SJohn Levon    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304*1f5207b7SJohn Levon    GNU General Public License for more details.
305*1f5207b7SJohn Levon
306*1f5207b7SJohn Levon    You should have received a copy of the GNU General Public License along
307*1f5207b7SJohn Levon    with this program; if not, write to the Free Software Foundation, Inc.,
308*1f5207b7SJohn Levon    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309*1f5207b7SJohn Levon
310*1f5207b7SJohn LevonAlso add information on how to contact you by electronic and paper mail.
311*1f5207b7SJohn Levon
312*1f5207b7SJohn LevonIf the program is interactive, make it output a short notice like this
313*1f5207b7SJohn Levonwhen it starts in an interactive mode:
314*1f5207b7SJohn Levon
315*1f5207b7SJohn Levon    Gnomovision version 69, Copyright (C) year name of author
316*1f5207b7SJohn Levon    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317*1f5207b7SJohn Levon    This is free software, and you are welcome to redistribute it
318*1f5207b7SJohn Levon    under certain conditions; type `show c' for details.
319*1f5207b7SJohn Levon
320*1f5207b7SJohn LevonThe hypothetical commands `show w' and `show c' should show the appropriate
321*1f5207b7SJohn Levonparts of the General Public License.  Of course, the commands you use may
322*1f5207b7SJohn Levonbe called something other than `show w' and `show c'; they could even be
323*1f5207b7SJohn Levonmouse-clicks or menu items--whatever suits your program.
324*1f5207b7SJohn Levon
325*1f5207b7SJohn LevonYou should also get your employer (if you work as a programmer) or your
326*1f5207b7SJohn Levonschool, if any, to sign a "copyright disclaimer" for the program, if
327*1f5207b7SJohn Levonnecessary.  Here is a sample; alter the names:
328*1f5207b7SJohn Levon
329*1f5207b7SJohn Levon  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330*1f5207b7SJohn Levon  `Gnomovision' (which makes passes at compilers) written by James Hacker.
331*1f5207b7SJohn Levon
332*1f5207b7SJohn Levon  <signature of Ty Coon>, 1 April 1989
333*1f5207b7SJohn Levon  Ty Coon, President of Vice
334*1f5207b7SJohn Levon
335*1f5207b7SJohn LevonThis General Public License does not permit incorporating your program into
336*1f5207b7SJohn Levonproprietary programs.  If your program is a subroutine library, you may
337*1f5207b7SJohn Levonconsider it more useful to permit linking proprietary applications with the
338*1f5207b7SJohn Levonlibrary.  If this is what you want to do, use the GNU Lesser General
339*1f5207b7SJohn LevonPublic License instead of this License.
340