1<HTML> 2<HEAD> 3<!-- This HTML file has been created by texi2html 1.52b 4 from gperf.texi on 19 March 2013 --> 5 6<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8"> 7<TITLE>Perfect Hash Function Generator - GNU GENERAL PUBLIC LICENSE</TITLE> 8</HEAD> 9<BODY> 10Go to the first, previous, <A HREF="gperf_2.html">next</A>, <A HREF="gperf_10.html">last</A> section, <A HREF="gperf_toc.html">table of contents</A>. 11<P><HR><P> 12 13<P> 14Copyright (C) 1989-2009 Free Software Foundation, Inc. 15 16</P> 17 18<P> 19Permission is granted to make and distribute verbatim copies of 20this manual provided the copyright notice and this permission notice 21are preserved on all copies. 22 23</P> 24<P> 25Permission is granted to copy and distribute modified versions of this 26manual under the conditions for verbatim copying, provided also that the 27section entitled ���GNU General Public License��� is included 28exactly as in the original, and provided that the entire resulting 29derived work is distributed under the terms of a permission notice 30identical to this one. 31 32</P> 33<P> 34Permission is granted to copy and distribute translations of this manual 35into another language, under the above conditions for modified versions, 36except that the section entitled ���GNU General Public License��� may be 37included in a translation approved by the author instead of in the 38original English. 39 40</P> 41 42 43 44<H1><A NAME="SEC1" HREF="gperf_toc.html#TOC1">GNU GENERAL PUBLIC LICENSE</A></H1> 45<P> 46Version 3, 29 June 2007 47 48</P> 49 50 51<PRE> 52Copyright (C) 2007 Free Software Foundation, Inc. <A HREF="http://fsf.org/">http://fsf.org/</A> 53 54Everyone is permitted to copy and distribute verbatim copies of this 55license document, but changing it is not allowed. 56</PRE> 57 58 59<H2>1.0 Preamble</H2> 60 61<P> 62The GNU General Public License is a free, copyleft license for 63software and other kinds of works. 64 65</P> 66<P> 67The licenses for most software and other practical works are designed 68to take away your freedom to share and change the works. By contrast, 69the GNU General Public License is intended to guarantee your freedom 70to share and change all versions of a program--to make sure it remains 71free software for all its users. We, the Free Software Foundation, 72use the GNU General Public License for most of our software; it 73applies also to any other work released this way by its authors. You 74can apply it to your programs, too. 75 76</P> 77<P> 78When we speak of free software, we are referring to freedom, not 79price. Our General Public Licenses are designed to make sure that you 80have the freedom to distribute copies of free software (and charge for 81them if you wish), that you receive source code or can get it if you 82want it, that you can change the software or use pieces of it in new 83free programs, and that you know you can do these things. 84 85</P> 86<P> 87To protect your rights, we need to prevent others from denying you 88these rights or asking you to surrender the rights. Therefore, you 89have certain responsibilities if you distribute copies of the 90software, or if you modify it: responsibilities to respect the freedom 91of others. 92 93</P> 94<P> 95For example, if you distribute copies of such a program, whether 96gratis or for a fee, you must pass on to the recipients the same 97freedoms that you received. You must make sure that they, too, 98receive or can get the source code. And you must show them these 99terms so they know their rights. 100 101</P> 102<P> 103Developers that use the GNU GPL protect your rights with two steps: 104(1) assert copyright on the software, and (2) offer you this License 105giving you legal permission to copy, distribute and/or modify it. 106 107</P> 108<P> 109For the developers' and authors' protection, the GPL clearly explains 110that there is no warranty for this free software. For both users' and 111authors' sake, the GPL requires that modified versions be marked as 112changed, so that their problems will not be attributed erroneously to 113authors of previous versions. 114 115</P> 116<P> 117Some devices are designed to deny users access to install or run 118modified versions of the software inside them, although the 119manufacturer can do so. This is fundamentally incompatible with the 120aim of protecting users' freedom to change the software. The 121systematic pattern of such abuse occurs in the area of products for 122individuals to use, which is precisely where it is most unacceptable. 123Therefore, we have designed this version of the GPL to prohibit the 124practice for those products. If such problems arise substantially in 125other domains, we stand ready to extend this provision to those 126domains in future versions of the GPL, as needed to protect the 127freedom of users. 128 129</P> 130<P> 131Finally, every program is threatened constantly by software patents. 132States should not allow patents to restrict development and use of 133software on general-purpose computers, but in those that do, we wish 134to avoid the special danger that patents applied to a free program 135could make it effectively proprietary. To prevent this, the GPL 136assures that patents cannot be used to render the program non-free. 137 138</P> 139<P> 140The precise terms and conditions for copying, distribution and 141modification follow. 142 143</P> 144 145<H2>1.1 TERMS AND CONDITIONS</H2> 146 147 148<OL> 149<LI>Definitions. 150 151���This License��� refers to version 3 of the GNU General Public License. 152 153���Copyright��� also means copyright-like laws that apply to other kinds 154of works, such as semiconductor masks. 155 156���The Program��� refers to any copyrightable work licensed under this 157License. Each licensee is addressed as ���you���. ���Licensees��� and 158���recipients��� may be individuals or organizations. 159 160To ���modify��� a work means to copy from or adapt all or part of the work 161in a fashion requiring copyright permission, other than the making of 162an exact copy. The resulting work is called a ���modified version��� of 163the earlier work or a work ���based on��� the earlier work. 164 165A ���covered work��� means either the unmodified Program or a work based 166on the Program. 167 168To ���propagate��� a work means to do anything with it that, without 169permission, would make you directly or secondarily liable for 170infringement under applicable copyright law, except executing it on a 171computer or modifying a private copy. Propagation includes copying, 172distribution (with or without modification), making available to the 173public, and in some countries other activities as well. 174 175To ���convey��� a work means any kind of propagation that enables other 176parties to make or receive copies. Mere interaction with a user 177through a computer network, with no transfer of a copy, is not 178conveying. 179 180An interactive user interface displays ���Appropriate Legal Notices��� to 181the extent that it includes a convenient and prominently visible 182feature that (1) displays an appropriate copyright notice, and (2) 183tells the user that there is no warranty for the work (except to the 184extent that warranties are provided), that licensees may convey the 185work under this License, and how to view a copy of this License. If 186the interface presents a list of user commands or options, such as a 187menu, a prominent item in the list meets this criterion. 188 189<LI>Source Code. 190 191The ���source code��� for a work means the preferred form of the work for 192making modifications to it. ���Object code��� means any non-source form 193of a work. 194 195A ���Standard Interface��� means an interface that either is an official 196standard defined by a recognized standards body, or, in the case of 197interfaces specified for a particular programming language, one that 198is widely used among developers working in that language. 199 200The ���System Libraries��� of an executable work include anything, other 201than the work as a whole, that (a) is included in the normal form of 202packaging a Major Component, but which is not part of that Major 203Component, and (b) serves only to enable use of the work with that 204Major Component, or to implement a Standard Interface for which an 205implementation is available to the public in source code form. A 206���Major Component���, in this context, means a major essential component 207(kernel, window system, and so on) of the specific operating system 208(if any) on which the executable work runs, or a compiler used to 209produce the work, or an object code interpreter used to run it. 210 211The ���Corresponding Source��� for a work in object code form means all 212the source code needed to generate, install, and (for an executable 213work) run the object code and to modify the work, including scripts to 214control those activities. However, it does not include the work's 215System Libraries, or general-purpose tools or generally available free 216programs which are used unmodified in performing those activities but 217which are not part of the work. For example, Corresponding Source 218includes interface definition files associated with source files for 219the work, and the source code for shared libraries and dynamically 220linked subprograms that the work is specifically designed to require, 221such as by intimate data communication or control flow between those 222subprograms and other parts of the work. 223 224The Corresponding Source need not include anything that users can 225regenerate automatically from other parts of the Corresponding Source. 226 227The Corresponding Source for a work in source code form is that same 228work. 229 230<LI>Basic Permissions. 231 232All rights granted under this License are granted for the term of 233copyright on the Program, and are irrevocable provided the stated 234conditions are met. This License explicitly affirms your unlimited 235permission to run the unmodified Program. The output from running a 236covered work is covered by this License only if the output, given its 237content, constitutes a covered work. This License acknowledges your 238rights of fair use or other equivalent, as provided by copyright law. 239 240You may make, run and propagate covered works that you do not convey, 241without conditions so long as your license otherwise remains in force. 242You may convey covered works to others for the sole purpose of having 243them make modifications exclusively for you, or provide you with 244facilities for running those works, provided that you comply with the 245terms of this License in conveying all material for which you do not 246control copyright. Those thus making or running the covered works for 247you must do so exclusively on your behalf, under your direction and 248control, on terms that prohibit them from making any copies of your 249copyrighted material outside their relationship with you. 250 251Conveying under any other circumstances is permitted solely under the 252conditions stated below. Sublicensing is not allowed; section 10 253makes it unnecessary. 254 255<LI>Protecting Users' Legal Rights From Anti-Circumvention Law. 256 257No covered work shall be deemed part of an effective technological 258measure under any applicable law fulfilling obligations under article 25911 of the WIPO copyright treaty adopted on 20 December 1996, or 260similar laws prohibiting or restricting circumvention of such 261measures. 262 263When you convey a covered work, you waive any legal power to forbid 264circumvention of technological measures to the extent such 265circumvention is effected by exercising rights under this License with 266respect to the covered work, and you disclaim any intention to limit 267operation or modification of the work as a means of enforcing, against 268the work's users, your or third parties' legal rights to forbid 269circumvention of technological measures. 270 271<LI>Conveying Verbatim Copies. 272 273You may convey verbatim copies of the Program's source code as you 274receive it, in any medium, provided that you conspicuously and 275appropriately publish on each copy an appropriate copyright notice; 276keep intact all notices stating that this License and any 277non-permissive terms added in accord with section 7 apply to the code; 278keep intact all notices of the absence of any warranty; and give all 279recipients a copy of this License along with the Program. 280 281You may charge any price or no price for each copy that you convey, 282and you may offer support or warranty protection for a fee. 283 284<LI>Conveying Modified Source Versions. 285 286You may convey a work based on the Program, or the modifications to 287produce it from the Program, in the form of source code under the 288terms of section 4, provided that you also meet all of these 289conditions: 290 291 292<OL> 293<LI> 294 295The work must carry prominent notices stating that you modified it, 296and giving a relevant date. 297 298<LI> 299 300The work must carry prominent notices stating that it is released 301under this License and any conditions added under section 7. This 302requirement modifies the requirement in section 4 to ���keep intact all 303notices���. 304 305<LI> 306 307You must license the entire work, as a whole, under this License to 308anyone who comes into possession of a copy. This License will 309therefore apply, along with any applicable section 7 additional terms, 310to the whole of the work, and all its parts, regardless of how they 311are packaged. This License gives no permission to license the work in 312any other way, but it does not invalidate such permission if you have 313separately received it. 314 315<LI> 316 317If the work has interactive user interfaces, each must display 318Appropriate Legal Notices; however, if the Program has interactive 319interfaces that do not display Appropriate Legal Notices, your work 320need not make them do so. 321</OL> 322 323A compilation of a covered work with other separate and independent 324works, which are not by their nature extensions of the covered work, 325and which are not combined with it such as to form a larger program, 326in or on a volume of a storage or distribution medium, is called an 327���aggregate��� if the compilation and its resulting copyright are not 328used to limit the access or legal rights of the compilation's users 329beyond what the individual works permit. Inclusion of a covered work 330in an aggregate does not cause this License to apply to the other 331parts of the aggregate. 332 333<LI>Conveying Non-Source Forms. 334 335You may convey a covered work in object code form under the terms of 336sections 4 and 5, provided that you also convey the machine-readable 337Corresponding Source under the terms of this License, in one of these 338ways: 339 340 341<OL> 342<LI> 343 344Convey the object code in, or embodied in, a physical product 345(including a physical distribution medium), accompanied by the 346Corresponding Source fixed on a durable physical medium customarily 347used for software interchange. 348 349<LI> 350 351Convey the object code in, or embodied in, a physical product 352(including a physical distribution medium), accompanied by a written 353offer, valid for at least three years and valid for as long as you 354offer spare parts or customer support for that product model, to give 355anyone who possesses the object code either (1) a copy of the 356Corresponding Source for all the software in the product that is 357covered by this License, on a durable physical medium customarily used 358for software interchange, for a price no more than your reasonable 359cost of physically performing this conveying of source, or (2) access 360to copy the Corresponding Source from a network server at no charge. 361 362<LI> 363 364Convey individual copies of the object code with a copy of the written 365offer to provide the Corresponding Source. This alternative is 366allowed only occasionally and noncommercially, and only if you 367received the object code with such an offer, in accord with subsection 3686b. 369 370<LI> 371 372Convey the object code by offering access from a designated place 373(gratis or for a charge), and offer equivalent access to the 374Corresponding Source in the same way through the same place at no 375further charge. You need not require recipients to copy the 376Corresponding Source along with the object code. If the place to copy 377the object code is a network server, the Corresponding Source may be 378on a different server (operated by you or a third party) that supports 379equivalent copying facilities, provided you maintain clear directions 380next to the object code saying where to find the Corresponding Source. 381Regardless of what server hosts the Corresponding Source, you remain 382obligated to ensure that it is available for as long as needed to 383satisfy these requirements. 384 385<LI> 386 387Convey the object code using peer-to-peer transmission, provided you 388inform other peers where the object code and Corresponding Source of 389the work are being offered to the general public at no charge under 390subsection 6d. 391 392</OL> 393 394A separable portion of the object code, whose source code is excluded 395from the Corresponding Source as a System Library, need not be 396included in conveying the object code work. 397 398A ���User Product��� is either (1) a ���consumer product���, which means any 399tangible personal property which is normally used for personal, 400family, or household purposes, or (2) anything designed or sold for 401incorporation into a dwelling. In determining whether a product is a 402consumer product, doubtful cases shall be resolved in favor of 403coverage. For a particular product received by a particular user, 404���normally used��� refers to a typical or common use of that class of 405product, regardless of the status of the particular user or of the way 406in which the particular user actually uses, or expects or is expected 407to use, the product. A product is a consumer product regardless of 408whether the product has substantial commercial, industrial or 409non-consumer uses, unless such uses represent the only significant 410mode of use of the product. 411 412���Installation Information��� for a User Product means any methods, 413procedures, authorization keys, or other information required to 414install and execute modified versions of a covered work in that User 415Product from a modified version of its Corresponding Source. The 416information must suffice to ensure that the continued functioning of 417the modified object code is in no case prevented or interfered with 418solely because modification has been made. 419 420If you convey an object code work under this section in, or with, or 421specifically for use in, a User Product, and the conveying occurs as 422part of a transaction in which the right of possession and use of the 423User Product is transferred to the recipient in perpetuity or for a 424fixed term (regardless of how the transaction is characterized), the 425Corresponding Source conveyed under this section must be accompanied 426by the Installation Information. But this requirement does not apply 427if neither you nor any third party retains the ability to install 428modified object code on the User Product (for example, the work has 429been installed in ROM). 430 431The requirement to provide Installation Information does not include a 432requirement to continue to provide support service, warranty, or 433updates for a work that has been modified or installed by the 434recipient, or for the User Product in which it has been modified or 435installed. Access to a network may be denied when the modification 436itself materially and adversely affects the operation of the network 437or violates the rules and protocols for communication across the 438network. 439 440Corresponding Source conveyed, and Installation Information provided, 441in accord with this section must be in a format that is publicly 442documented (and with an implementation available to the public in 443source code form), and must require no special password or key for 444unpacking, reading or copying. 445 446<LI>Additional Terms. 447 448���Additional permissions��� are terms that supplement the terms of this 449License by making exceptions from one or more of its conditions. 450Additional permissions that are applicable to the entire Program shall 451be treated as though they were included in this License, to the extent 452that they are valid under applicable law. If additional permissions 453apply only to part of the Program, that part may be used separately 454under those permissions, but the entire Program remains governed by 455this License without regard to the additional permissions. 456 457When you convey a copy of a covered work, you may at your option 458remove any additional permissions from that copy, or from any part of 459it. (Additional permissions may be written to require their own 460removal in certain cases when you modify the work.) You may place 461additional permissions on material, added by you to a covered work, 462for which you have or can give appropriate copyright permission. 463 464Notwithstanding any other provision of this License, for material you 465add to a covered work, you may (if authorized by the copyright holders 466of that material) supplement the terms of this License with terms: 467 468 469<OL> 470<LI> 471 472Disclaiming warranty or limiting liability differently from the terms 473of sections 15 and 16 of this License; or 474 475<LI> 476 477Requiring preservation of specified reasonable legal notices or author 478attributions in that material or in the Appropriate Legal Notices 479displayed by works containing it; or 480 481<LI> 482 483Prohibiting misrepresentation of the origin of that material, or 484requiring that modified versions of such material be marked in 485reasonable ways as different from the original version; or 486 487<LI> 488 489Limiting the use for publicity purposes of names of licensors or 490authors of the material; or 491 492<LI> 493 494Declining to grant rights under trademark law for use of some trade 495names, trademarks, or service marks; or 496 497<LI> 498 499Requiring indemnification of licensors and authors of that material by 500anyone who conveys the material (or modified versions of it) with 501contractual assumptions of liability to the recipient, for any 502liability that these contractual assumptions directly impose on those 503licensors and authors. 504</OL> 505 506All other non-permissive additional terms are considered ���further 507restrictions��� within the meaning of section 10. If the Program as you 508received it, or any part of it, contains a notice stating that it is 509governed by this License along with a term that is a further 510restriction, you may remove that term. If a license document contains 511a further restriction but permits relicensing or conveying under this 512License, you may add to a covered work material governed by the terms 513of that license document, provided that the further restriction does 514not survive such relicensing or conveying. 515 516If you add terms to a covered work in accord with this section, you 517must place, in the relevant source files, a statement of the 518additional terms that apply to those files, or a notice indicating 519where to find the applicable terms. 520 521Additional terms, permissive or non-permissive, may be stated in the 522form of a separately written license, or stated as exceptions; the 523above requirements apply either way. 524 525<LI>Termination. 526 527You may not propagate or modify a covered work except as expressly 528provided under this License. Any attempt otherwise to propagate or 529modify it is void, and will automatically terminate your rights under 530this License (including any patent licenses granted under the third 531paragraph of section 11). 532 533However, if you cease all violation of this License, then your license 534from a particular copyright holder is reinstated (a) provisionally, 535unless and until the copyright holder explicitly and finally 536terminates your license, and (b) permanently, if the copyright holder 537fails to notify you of the violation by some reasonable means prior to 53860 days after the cessation. 539 540Moreover, your license from a particular copyright holder is 541reinstated permanently if the copyright holder notifies you of the 542violation by some reasonable means, this is the first time you have 543received notice of violation of this License (for any work) from that 544copyright holder, and you cure the violation prior to 30 days after 545your receipt of the notice. 546 547Termination of your rights under this section does not terminate the 548licenses of parties who have received copies or rights from you under 549this License. If your rights have been terminated and not permanently 550reinstated, you do not qualify to receive new licenses for the same 551material under section 10. 552 553<LI>Acceptance Not Required for Having Copies. 554 555You are not required to accept this License in order to receive or run 556a copy of the Program. Ancillary propagation of a covered work 557occurring solely as a consequence of using peer-to-peer transmission 558to receive a copy likewise does not require acceptance. However, 559nothing other than this License grants you permission to propagate or 560modify any covered work. These actions infringe copyright if you do 561not accept this License. Therefore, by modifying or propagating a 562covered work, you indicate your acceptance of this License to do so. 563 564<LI>Automatic Licensing of Downstream Recipients. 565 566Each time you convey a covered work, the recipient automatically 567receives a license from the original licensors, to run, modify and 568propagate that work, subject to this License. You are not responsible 569for enforcing compliance by third parties with this License. 570 571An ���entity transaction��� is a transaction transferring control of an 572organization, or substantially all assets of one, or subdividing an 573organization, or merging organizations. If propagation of a covered 574work results from an entity transaction, each party to that 575transaction who receives a copy of the work also receives whatever 576licenses to the work the party's predecessor in interest had or could 577give under the previous paragraph, plus a right to possession of the 578Corresponding Source of the work from the predecessor in interest, if 579the predecessor has it or can get it with reasonable efforts. 580 581You may not impose any further restrictions on the exercise of the 582rights granted or affirmed under this License. For example, you may 583not impose a license fee, royalty, or other charge for exercise of 584rights granted under this License, and you may not initiate litigation 585(including a cross-claim or counterclaim in a lawsuit) alleging that 586any patent claim is infringed by making, using, selling, offering for 587sale, or importing the Program or any portion of it. 588 589<LI>Patents. 590 591A ���contributor��� is a copyright holder who authorizes use under this 592License of the Program or a work on which the Program is based. The 593work thus licensed is called the contributor's ���contributor version���. 594 595A contributor's ���essential patent claims��� are all patent claims owned 596or controlled by the contributor, whether already acquired or 597hereafter acquired, that would be infringed by some manner, permitted 598by this License, of making, using, or selling its contributor version, 599but do not include claims that would be infringed only as a 600consequence of further modification of the contributor version. For 601purposes of this definition, ���control��� includes the right to grant 602patent sublicenses in a manner consistent with the requirements of 603this License. 604 605Each contributor grants you a non-exclusive, worldwide, royalty-free 606patent license under the contributor's essential patent claims, to 607make, use, sell, offer for sale, import and otherwise run, modify and 608propagate the contents of its contributor version. 609 610In the following three paragraphs, a ���patent license��� is any express 611agreement or commitment, however denominated, not to enforce a patent 612(such as an express permission to practice a patent or covenant not to 613sue for patent infringement). To ���grant��� such a patent license to a 614party means to make such an agreement or commitment not to enforce a 615patent against the party. 616 617If you convey a covered work, knowingly relying on a patent license, 618and the Corresponding Source of the work is not available for anyone 619to copy, free of charge and under the terms of this License, through a 620publicly available network server or other readily accessible means, 621then you must either (1) cause the Corresponding Source to be so 622available, or (2) arrange to deprive yourself of the benefit of the 623patent license for this particular work, or (3) arrange, in a manner 624consistent with the requirements of this License, to extend the patent 625license to downstream recipients. ���Knowingly relying��� means you have 626actual knowledge that, but for the patent license, your conveying the 627covered work in a country, or your recipient's use of the covered work 628in a country, would infringe one or more identifiable patents in that 629country that you have reason to believe are valid. 630 631If, pursuant to or in connection with a single transaction or 632arrangement, you convey, or propagate by procuring conveyance of, a 633covered work, and grant a patent license to some of the parties 634receiving the covered work authorizing them to use, propagate, modify 635or convey a specific copy of the covered work, then the patent license 636you grant is automatically extended to all recipients of the covered 637work and works based on it. 638 639A patent license is ���discriminatory��� if it does not include within the 640scope of its coverage, prohibits the exercise of, or is conditioned on 641the non-exercise of one or more of the rights that are specifically 642granted under this License. You may not convey a covered work if you 643are a party to an arrangement with a third party that is in the 644business of distributing software, under which you make payment to the 645third party based on the extent of your activity of conveying the 646work, and under which the third party grants, to any of the parties 647who would receive the covered work from you, a discriminatory patent 648license (a) in connection with copies of the covered work conveyed by 649you (or copies made from those copies), or (b) primarily for and in 650connection with specific products or compilations that contain the 651covered work, unless you entered into that arrangement, or that patent 652license was granted, prior to 28 March 2007. 653 654Nothing in this License shall be construed as excluding or limiting 655any implied license or other defenses to infringement that may 656otherwise be available to you under applicable patent law. 657 658<LI>No Surrender of Others' Freedom. 659 660If conditions are imposed on you (whether by court order, agreement or 661otherwise) that contradict the conditions of this License, they do not 662excuse you from the conditions of this License. If you cannot convey 663a covered work so as to satisfy simultaneously your obligations under 664this License and any other pertinent obligations, then as a 665consequence you may not convey it at all. For example, if you agree 666to terms that obligate you to collect a royalty for further conveying 667from those to whom you convey the Program, the only way you could 668satisfy both those terms and this License would be to refrain entirely 669from conveying the Program. 670 671<LI>Use with the GNU Affero General Public License. 672 673Notwithstanding any other provision of this License, you have 674permission to link or combine any covered work with a work licensed 675under version 3 of the GNU Affero General Public License into a single 676combined work, and to convey the resulting work. The terms of this 677License will continue to apply to the part which is the covered work, 678but the special requirements of the GNU Affero General Public License, 679section 13, concerning interaction through a network will apply to the 680combination as such. 681 682<LI>Revised Versions of this License. 683 684The Free Software Foundation may publish revised and/or new versions 685of the GNU General Public License from time to time. Such new 686versions will be similar in spirit to the present version, but may 687differ in detail to address new problems or concerns. 688 689Each version is given a distinguishing version number. If the Program 690specifies that a certain numbered version of the GNU General Public 691License ���or any later version��� applies to it, you have the option of 692following the terms and conditions either of that numbered version or 693of any later version published by the Free Software Foundation. If 694the Program does not specify a version number of the GNU General 695Public License, you may choose any version ever published by the Free 696Software Foundation. 697 698If the Program specifies that a proxy can decide which future versions 699of the GNU General Public License can be used, that proxy's public 700statement of acceptance of a version permanently authorizes you to 701choose that version for the Program. 702 703Later license versions may give you additional or different 704permissions. However, no additional obligations are imposed on any 705author or copyright holder as a result of your choosing to follow a 706later version. 707 708<LI>Disclaimer of Warranty. 709 710THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 711APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 712HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM ���AS IS��� WITHOUT 713WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT 714LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 715A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND 716PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE 717DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR 718CORRECTION. 719 720<LI>Limitation of Liability. 721 722IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 723WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR 724CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 725INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES 726ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT 727NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR 728LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM 729TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER 730PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 731 732<LI>Interpretation of Sections 15 and 16. 733 734If the disclaimer of warranty and limitation of liability provided 735above cannot be given local legal effect according to their terms, 736reviewing courts shall apply local law that most closely approximates 737an absolute waiver of all civil liability in connection with the 738Program, unless a warranty or assumption of liability accompanies a 739copy of the Program in return for a fee. 740 741</OL> 742 743 744<H2>1.2 END OF TERMS AND CONDITIONS</H2> 745 746 747<H2>1.3 How to Apply These Terms to Your New Programs</H2> 748 749<P> 750If you develop a new program, and you want it to be of the greatest 751possible use to the public, the best way to achieve this is to make it 752free software which everyone can redistribute and change under these 753terms. 754 755</P> 756<P> 757To do so, attach the following notices to the program. It is safest 758to attach them to the start of each source file to most effectively 759state the exclusion of warranty; and each file should have at least 760the ���copyright��� line and a pointer to where the full notice is found. 761 762</P> 763 764<PRE> 765<VAR>one line to give the program's name and a brief idea of what it does.</VAR> 766Copyright (C) <VAR>year</VAR> <VAR>name of author</VAR> 767 768This program is free software: you can redistribute it and/or modify 769it under the terms of the GNU General Public License as published by 770the Free Software Foundation, either version 3 of the License, or (at 771your option) any later version. 772 773This program is distributed in the hope that it will be useful, but 774WITHOUT ANY WARRANTY; without even the implied warranty of 775MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 776General Public License for more details. 777 778You should have received a copy of the GNU General Public License 779along with this program. If not, see <A HREF="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</A>. 780</PRE> 781 782<P> 783Also add information on how to contact you by electronic and paper mail. 784 785</P> 786<P> 787If the program does terminal interaction, make it output a short 788notice like this when it starts in an interactive mode: 789 790</P> 791 792<PRE> 793<VAR>program</VAR> Copyright (C) <VAR>year</VAR> <VAR>name of author</VAR> 794This program comes with ABSOLUTELY NO WARRANTY; for details type <SAMP>‘show w’</SAMP>. 795This is free software, and you are welcome to redistribute it 796under certain conditions; type <SAMP>‘show c’</SAMP> for details. 797</PRE> 798 799<P> 800The hypothetical commands <SAMP>‘show w’</SAMP> and <SAMP>‘show c’</SAMP> should show 801the appropriate parts of the General Public License. Of course, your 802program's commands might be different; for a GUI interface, you would 803use an ���about box���. 804 805</P> 806<P> 807You should also get your employer (if you work as a programmer) or school, 808if any, to sign a ���copyright disclaimer��� for the program, if necessary. 809For more information on this, and how to apply and follow the GNU GPL, see 810<A HREF="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</A>. 811 812</P> 813<P> 814The GNU General Public License does not permit incorporating your 815program into proprietary programs. If your program is a subroutine 816library, you may consider it more useful to permit linking proprietary 817applications with the library. If this is what you want to do, use 818the GNU Lesser General Public License instead of this License. But 819first, please read <A HREF="http://www.gnu.org/philosophy/why-not-lgpl.html">http://www.gnu.org/philosophy/why-not-lgpl.html</A>. 820 821</P> 822<P><HR><P> 823Go to the first, previous, <A HREF="gperf_2.html">next</A>, <A HREF="gperf_10.html">last</A> section, <A HREF="gperf_toc.html">table of contents</A>. 824</BODY> 825</HTML> 826