1*6a54128fSAndroid Build Coastguard WorkerThis package, the EXT2 filesystem utilities, are made available under 2*6a54128fSAndroid Build Coastguard Workerthe GNU Public License version 2, with the exception of the lib/ext2fs 3*6a54128fSAndroid Build Coastguard Workerand lib/e2p libraries, which are made available under the GNU Library 4*6a54128fSAndroid Build Coastguard WorkerGeneral Public License Version 2, the lib/uuid library which is made 5*6a54128fSAndroid Build Coastguard Workeravailable under a BSD-style license and the lib/et and lib/ss 6*6a54128fSAndroid Build Coastguard Workerlibraries which are made available under an MIT-style license. Please 7*6a54128fSAndroid Build Coastguard Workersee lib/uuid/COPYING for more details for the license for the files 8*6a54128fSAndroid Build Coastguard Workercomprising the libuuid library, and the source file headers of the 9*6a54128fSAndroid Build Coastguard Workerlibet and libss libraries for more information. 10*6a54128fSAndroid Build Coastguard Worker 11*6a54128fSAndroid Build Coastguard WorkerThe most recent officially distributed version can be found at 12*6a54128fSAndroid Build Coastguard Workerhttp://e2fsprogs.sourceforge.net. If you need to make a distribution, 13*6a54128fSAndroid Build Coastguard Workerthat's the one you should use. If there is some reason why you'd like 14*6a54128fSAndroid Build Coastguard Workera more recent version that is still in ALPHA testing (i.e., either 15*6a54128fSAndroid Build Coastguard Workerusing the "WIP" test distributions or one from the hg or git 16*6a54128fSAndroid Build Coastguard Workerrepository from the development branch, please contact me 17*6a54128fSAndroid Build Coastguard Worker([email protected]) before you ship. The release schedules for this 18*6a54128fSAndroid Build Coastguard Workerpackage are flexible, if you give me enough lead time. 19*6a54128fSAndroid Build Coastguard Worker 20*6a54128fSAndroid Build Coastguard Worker 21*6a54128fSAndroid Build Coastguard Worker Theodore Ts'o 22*6a54128fSAndroid Build Coastguard Worker 23-June-2007 23*6a54128fSAndroid Build Coastguard Worker 24*6a54128fSAndroid Build Coastguard Worker---------------------------------------------------------------------- 25*6a54128fSAndroid Build Coastguard Worker 26*6a54128fSAndroid Build Coastguard Worker GNU GENERAL PUBLIC LICENSE 27*6a54128fSAndroid Build Coastguard Worker Version 2, June 1991 28*6a54128fSAndroid Build Coastguard Worker 29*6a54128fSAndroid Build Coastguard Worker Copyright (C) 1989, 1991 Free Software Foundation, Inc. 30*6a54128fSAndroid Build Coastguard Worker 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 31*6a54128fSAndroid Build Coastguard Worker Everyone is permitted to copy and distribute verbatim copies 32*6a54128fSAndroid Build Coastguard Worker of this license document, but changing it is not allowed. 33*6a54128fSAndroid Build Coastguard Worker 34*6a54128fSAndroid Build Coastguard Worker Preamble 35*6a54128fSAndroid Build Coastguard Worker 36*6a54128fSAndroid Build Coastguard Worker The licenses for most software are designed to take away your 37*6a54128fSAndroid Build Coastguard Workerfreedom to share and change it. By contrast, the GNU General Public 38*6a54128fSAndroid Build Coastguard WorkerLicense is intended to guarantee your freedom to share and change free 39*6a54128fSAndroid Build Coastguard Workersoftware--to make sure the software is free for all its users. This 40*6a54128fSAndroid Build Coastguard WorkerGeneral Public License applies to most of the Free Software 41*6a54128fSAndroid Build Coastguard WorkerFoundation's software and to any other program whose authors commit to 42*6a54128fSAndroid Build Coastguard Workerusing it. (Some other Free Software Foundation software is covered by 43*6a54128fSAndroid Build Coastguard Workerthe GNU Library General Public License instead.) You can apply it to 44*6a54128fSAndroid Build Coastguard Workeryour programs, too. 45*6a54128fSAndroid Build Coastguard Worker 46*6a54128fSAndroid Build Coastguard Worker When we speak of free software, we are referring to freedom, not 47*6a54128fSAndroid Build Coastguard Workerprice. Our General Public Licenses are designed to make sure that you 48*6a54128fSAndroid Build Coastguard Workerhave the freedom to distribute copies of free software (and charge for 49*6a54128fSAndroid Build Coastguard Workerthis service if you wish), that you receive source code or can get it 50*6a54128fSAndroid Build Coastguard Workerif you want it, that you can change the software or use pieces of it 51*6a54128fSAndroid Build Coastguard Workerin new free programs; and that you know you can do these things. 52*6a54128fSAndroid Build Coastguard Worker 53*6a54128fSAndroid Build Coastguard Worker To protect your rights, we need to make restrictions that forbid 54*6a54128fSAndroid Build Coastguard Workeranyone to deny you these rights or to ask you to surrender the rights. 55*6a54128fSAndroid Build Coastguard WorkerThese restrictions translate to certain responsibilities for you if you 56*6a54128fSAndroid Build Coastguard Workerdistribute copies of the software, or if you modify it. 57*6a54128fSAndroid Build Coastguard Worker 58*6a54128fSAndroid Build Coastguard Worker For example, if you distribute copies of such a program, whether 59*6a54128fSAndroid Build Coastguard Workergratis or for a fee, you must give the recipients all the rights that 60*6a54128fSAndroid Build Coastguard Workeryou have. You must make sure that they, too, receive or can get the 61*6a54128fSAndroid Build Coastguard Workersource code. And you must show them these terms so they know their 62*6a54128fSAndroid Build Coastguard Workerrights. 63*6a54128fSAndroid Build Coastguard Worker 64*6a54128fSAndroid Build Coastguard Worker We protect your rights with two steps: (1) copyright the software, and 65*6a54128fSAndroid Build Coastguard Worker(2) offer you this license which gives you legal permission to copy, 66*6a54128fSAndroid Build Coastguard Workerdistribute and/or modify the software. 67*6a54128fSAndroid Build Coastguard Worker 68*6a54128fSAndroid Build Coastguard Worker Also, for each author's protection and ours, we want to make certain 69*6a54128fSAndroid Build Coastguard Workerthat everyone understands that there is no warranty for this free 70*6a54128fSAndroid Build Coastguard Workersoftware. If the software is modified by someone else and passed on, we 71*6a54128fSAndroid Build Coastguard Workerwant its recipients to know that what they have is not the original, so 72*6a54128fSAndroid Build Coastguard Workerthat any problems introduced by others will not reflect on the original 73*6a54128fSAndroid Build Coastguard Workerauthors' reputations. 74*6a54128fSAndroid Build Coastguard Worker 75*6a54128fSAndroid Build Coastguard Worker Finally, any free program is threatened constantly by software 76*6a54128fSAndroid Build Coastguard Workerpatents. We wish to avoid the danger that redistributors of a free 77*6a54128fSAndroid Build Coastguard Workerprogram will individually obtain patent licenses, in effect making the 78*6a54128fSAndroid Build Coastguard Workerprogram proprietary. To prevent this, we have made it clear that any 79*6a54128fSAndroid Build Coastguard Workerpatent must be licensed for everyone's free use or not licensed at all. 80*6a54128fSAndroid Build Coastguard Worker 81*6a54128fSAndroid Build Coastguard Worker The precise terms and conditions for copying, distribution and 82*6a54128fSAndroid Build Coastguard Workermodification follow. 83*6a54128fSAndroid Build Coastguard Worker 84*6a54128fSAndroid Build Coastguard Worker GNU GENERAL PUBLIC LICENSE 85*6a54128fSAndroid Build Coastguard Worker TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 86*6a54128fSAndroid Build Coastguard Worker 87*6a54128fSAndroid Build Coastguard Worker 0. This License applies to any program or other work which contains 88*6a54128fSAndroid Build Coastguard Workera notice placed by the copyright holder saying it may be distributed 89*6a54128fSAndroid Build Coastguard Workerunder the terms of this General Public License. The "Program", below, 90*6a54128fSAndroid Build Coastguard Workerrefers to any such program or work, and a "work based on the Program" 91*6a54128fSAndroid Build Coastguard Workermeans either the Program or any derivative work under copyright law: 92*6a54128fSAndroid Build Coastguard Workerthat is to say, a work containing the Program or a portion of it, 93*6a54128fSAndroid Build Coastguard Workereither verbatim or with modifications and/or translated into another 94*6a54128fSAndroid Build Coastguard Workerlanguage. (Hereinafter, translation is included without limitation in 95*6a54128fSAndroid Build Coastguard Workerthe term "modification".) Each licensee is addressed as "you". 96*6a54128fSAndroid Build Coastguard Worker 97*6a54128fSAndroid Build Coastguard WorkerActivities other than copying, distribution and modification are not 98*6a54128fSAndroid Build Coastguard Workercovered by this License; they are outside its scope. The act of 99*6a54128fSAndroid Build Coastguard Workerrunning the Program is not restricted, and the output from the Program 100*6a54128fSAndroid Build Coastguard Workeris covered only if its contents constitute a work based on the 101*6a54128fSAndroid Build Coastguard WorkerProgram (independent of having been made by running the Program). 102*6a54128fSAndroid Build Coastguard WorkerWhether that is true depends on what the Program does. 103*6a54128fSAndroid Build Coastguard Worker 104*6a54128fSAndroid Build Coastguard Worker 1. You may copy and distribute verbatim copies of the Program's 105*6a54128fSAndroid Build Coastguard Workersource code as you receive it, in any medium, provided that you 106*6a54128fSAndroid Build Coastguard Workerconspicuously and appropriately publish on each copy an appropriate 107*6a54128fSAndroid Build Coastguard Workercopyright notice and disclaimer of warranty; keep intact all the 108*6a54128fSAndroid Build Coastguard Workernotices that refer to this License and to the absence of any warranty; 109*6a54128fSAndroid Build Coastguard Workerand give any other recipients of the Program a copy of this License 110*6a54128fSAndroid Build Coastguard Workeralong with the Program. 111*6a54128fSAndroid Build Coastguard Worker 112*6a54128fSAndroid Build Coastguard WorkerYou may charge a fee for the physical act of transferring a copy, and 113*6a54128fSAndroid Build Coastguard Workeryou may at your option offer warranty protection in exchange for a fee. 114*6a54128fSAndroid Build Coastguard Worker 115*6a54128fSAndroid Build Coastguard Worker 2. You may modify your copy or copies of the Program or any portion 116*6a54128fSAndroid Build Coastguard Workerof it, thus forming a work based on the Program, and copy and 117*6a54128fSAndroid Build Coastguard Workerdistribute such modifications or work under the terms of Section 1 118*6a54128fSAndroid Build Coastguard Workerabove, provided that you also meet all of these conditions: 119*6a54128fSAndroid Build Coastguard Worker 120*6a54128fSAndroid Build Coastguard Worker a) You must cause the modified files to carry prominent notices 121*6a54128fSAndroid Build Coastguard Worker stating that you changed the files and the date of any change. 122*6a54128fSAndroid Build Coastguard Worker 123*6a54128fSAndroid Build Coastguard Worker b) You must cause any work that you distribute or publish, that in 124*6a54128fSAndroid Build Coastguard Worker whole or in part contains or is derived from the Program or any 125*6a54128fSAndroid Build Coastguard Worker part thereof, to be licensed as a whole at no charge to all third 126*6a54128fSAndroid Build Coastguard Worker parties under the terms of this License. 127*6a54128fSAndroid Build Coastguard Worker 128*6a54128fSAndroid Build Coastguard Worker c) If the modified program normally reads commands interactively 129*6a54128fSAndroid Build Coastguard Worker when run, you must cause it, when started running for such 130*6a54128fSAndroid Build Coastguard Worker interactive use in the most ordinary way, to print or display an 131*6a54128fSAndroid Build Coastguard Worker announcement including an appropriate copyright notice and a 132*6a54128fSAndroid Build Coastguard Worker notice that there is no warranty (or else, saying that you provide 133*6a54128fSAndroid Build Coastguard Worker a warranty) and that users may redistribute the program under 134*6a54128fSAndroid Build Coastguard Worker these conditions, and telling the user how to view a copy of this 135*6a54128fSAndroid Build Coastguard Worker License. (Exception: if the Program itself is interactive but 136*6a54128fSAndroid Build Coastguard Worker does not normally print such an announcement, your work based on 137*6a54128fSAndroid Build Coastguard Worker the Program is not required to print an announcement.) 138*6a54128fSAndroid Build Coastguard Worker 139*6a54128fSAndroid Build Coastguard WorkerThese requirements apply to the modified work as a whole. If 140*6a54128fSAndroid Build Coastguard Workeridentifiable sections of that work are not derived from the Program, 141*6a54128fSAndroid Build Coastguard Workerand can be reasonably considered independent and separate works in 142*6a54128fSAndroid Build Coastguard Workerthemselves, then this License, and its terms, do not apply to those 143*6a54128fSAndroid Build Coastguard Workersections when you distribute them as separate works. But when you 144*6a54128fSAndroid Build Coastguard Workerdistribute the same sections as part of a whole which is a work based 145*6a54128fSAndroid Build Coastguard Workeron the Program, the distribution of the whole must be on the terms of 146*6a54128fSAndroid Build Coastguard Workerthis License, whose permissions for other licensees extend to the 147*6a54128fSAndroid Build Coastguard Workerentire whole, and thus to each and every part regardless of who wrote it. 148*6a54128fSAndroid Build Coastguard Worker 149*6a54128fSAndroid Build Coastguard WorkerThus, it is not the intent of this section to claim rights or contest 150*6a54128fSAndroid Build Coastguard Workeryour rights to work written entirely by you; rather, the intent is to 151*6a54128fSAndroid Build Coastguard Workerexercise the right to control the distribution of derivative or 152*6a54128fSAndroid Build Coastguard Workercollective works based on the Program. 153*6a54128fSAndroid Build Coastguard Worker 154*6a54128fSAndroid Build Coastguard WorkerIn addition, mere aggregation of another work not based on the Program 155*6a54128fSAndroid Build Coastguard Workerwith the Program (or with a work based on the Program) on a volume of 156*6a54128fSAndroid Build Coastguard Workera storage or distribution medium does not bring the other work under 157*6a54128fSAndroid Build Coastguard Workerthe scope of this License. 158*6a54128fSAndroid Build Coastguard Worker 159*6a54128fSAndroid Build Coastguard Worker 3. You may copy and distribute the Program (or a work based on it, 160*6a54128fSAndroid Build Coastguard Workerunder Section 2) in object code or executable form under the terms of 161*6a54128fSAndroid Build Coastguard WorkerSections 1 and 2 above provided that you also do one of the following: 162*6a54128fSAndroid Build Coastguard Worker 163*6a54128fSAndroid Build Coastguard Worker a) Accompany it with the complete corresponding machine-readable 164*6a54128fSAndroid Build Coastguard Worker source code, which must be distributed under the terms of Sections 165*6a54128fSAndroid Build Coastguard Worker 1 and 2 above on a medium customarily used for software interchange; or, 166*6a54128fSAndroid Build Coastguard Worker 167*6a54128fSAndroid Build Coastguard Worker b) Accompany it with a written offer, valid for at least three 168*6a54128fSAndroid Build Coastguard Worker years, to give any third party, for a charge no more than your 169*6a54128fSAndroid Build Coastguard Worker cost of physically performing source distribution, a complete 170*6a54128fSAndroid Build Coastguard Worker machine-readable copy of the corresponding source code, to be 171*6a54128fSAndroid Build Coastguard Worker distributed under the terms of Sections 1 and 2 above on a medium 172*6a54128fSAndroid Build Coastguard Worker customarily used for software interchange; or, 173*6a54128fSAndroid Build Coastguard Worker 174*6a54128fSAndroid Build Coastguard Worker c) Accompany it with the information you received as to the offer 175*6a54128fSAndroid Build Coastguard Worker to distribute corresponding source code. (This alternative is 176*6a54128fSAndroid Build Coastguard Worker allowed only for noncommercial distribution and only if you 177*6a54128fSAndroid Build Coastguard Worker received the program in object code or executable form with such 178*6a54128fSAndroid Build Coastguard Worker an offer, in accord with Subsection b above.) 179*6a54128fSAndroid Build Coastguard Worker 180*6a54128fSAndroid Build Coastguard WorkerThe source code for a work means the preferred form of the work for 181*6a54128fSAndroid Build Coastguard Workermaking modifications to it. For an executable work, complete source 182*6a54128fSAndroid Build Coastguard Workercode means all the source code for all modules it contains, plus any 183*6a54128fSAndroid Build Coastguard Workerassociated interface definition files, plus the scripts used to 184*6a54128fSAndroid Build Coastguard Workercontrol compilation and installation of the executable. However, as a 185*6a54128fSAndroid Build Coastguard Workerspecial exception, the source code distributed need not include 186*6a54128fSAndroid Build Coastguard Workeranything that is normally distributed (in either source or binary 187*6a54128fSAndroid Build Coastguard Workerform) with the major components (compiler, kernel, and so on) of the 188*6a54128fSAndroid Build Coastguard Workeroperating system on which the executable runs, unless that component 189*6a54128fSAndroid Build Coastguard Workeritself accompanies the executable. 190*6a54128fSAndroid Build Coastguard Worker 191*6a54128fSAndroid Build Coastguard WorkerIf distribution of executable or object code is made by offering 192*6a54128fSAndroid Build Coastguard Workeraccess to copy from a designated place, then offering equivalent 193*6a54128fSAndroid Build Coastguard Workeraccess to copy the source code from the same place counts as 194*6a54128fSAndroid Build Coastguard Workerdistribution of the source code, even though third parties are not 195*6a54128fSAndroid Build Coastguard Workercompelled to copy the source along with the object code. 196*6a54128fSAndroid Build Coastguard Worker 197*6a54128fSAndroid Build Coastguard Worker 4. You may not copy, modify, sublicense, or distribute the Program 198*6a54128fSAndroid Build Coastguard Workerexcept as expressly provided under this License. Any attempt 199*6a54128fSAndroid Build Coastguard Workerotherwise to copy, modify, sublicense or distribute the Program is 200*6a54128fSAndroid Build Coastguard Workervoid, and will automatically terminate your rights under this License. 201*6a54128fSAndroid Build Coastguard WorkerHowever, parties who have received copies, or rights, from you under 202*6a54128fSAndroid Build Coastguard Workerthis License will not have their licenses terminated so long as such 203*6a54128fSAndroid Build Coastguard Workerparties remain in full compliance. 204*6a54128fSAndroid Build Coastguard Worker 205*6a54128fSAndroid Build Coastguard Worker 5. You are not required to accept this License, since you have not 206*6a54128fSAndroid Build Coastguard Workersigned it. However, nothing else grants you permission to modify or 207*6a54128fSAndroid Build Coastguard Workerdistribute the Program or its derivative works. These actions are 208*6a54128fSAndroid Build Coastguard Workerprohibited by law if you do not accept this License. Therefore, by 209*6a54128fSAndroid Build Coastguard Workermodifying or distributing the Program (or any work based on the 210*6a54128fSAndroid Build Coastguard WorkerProgram), you indicate your acceptance of this License to do so, and 211*6a54128fSAndroid Build Coastguard Workerall its terms and conditions for copying, distributing or modifying 212*6a54128fSAndroid Build Coastguard Workerthe Program or works based on it. 213*6a54128fSAndroid Build Coastguard Worker 214*6a54128fSAndroid Build Coastguard Worker 6. Each time you redistribute the Program (or any work based on the 215*6a54128fSAndroid Build Coastguard WorkerProgram), the recipient automatically receives a license from the 216*6a54128fSAndroid Build Coastguard Workeroriginal licensor to copy, distribute or modify the Program subject to 217*6a54128fSAndroid Build Coastguard Workerthese terms and conditions. You may not impose any further 218*6a54128fSAndroid Build Coastguard Workerrestrictions on the recipients' exercise of the rights granted herein. 219*6a54128fSAndroid Build Coastguard WorkerYou are not responsible for enforcing compliance by third parties to 220*6a54128fSAndroid Build Coastguard Workerthis License. 221*6a54128fSAndroid Build Coastguard Worker 222*6a54128fSAndroid Build Coastguard Worker 7. If, as a consequence of a court judgment or allegation of patent 223*6a54128fSAndroid Build Coastguard Workerinfringement or for any other reason (not limited to patent issues), 224*6a54128fSAndroid Build Coastguard Workerconditions are imposed on you (whether by court order, agreement or 225*6a54128fSAndroid Build Coastguard Workerotherwise) that contradict the conditions of this License, they do not 226*6a54128fSAndroid Build Coastguard Workerexcuse you from the conditions of this License. If you cannot 227*6a54128fSAndroid Build Coastguard Workerdistribute so as to satisfy simultaneously your obligations under this 228*6a54128fSAndroid Build Coastguard WorkerLicense and any other pertinent obligations, then as a consequence you 229*6a54128fSAndroid Build Coastguard Workermay not distribute the Program at all. For example, if a patent 230*6a54128fSAndroid Build Coastguard Workerlicense would not permit royalty-free redistribution of the Program by 231*6a54128fSAndroid Build Coastguard Workerall those who receive copies directly or indirectly through you, then 232*6a54128fSAndroid Build Coastguard Workerthe only way you could satisfy both it and this License would be to 233*6a54128fSAndroid Build Coastguard Workerrefrain entirely from distribution of the Program. 234*6a54128fSAndroid Build Coastguard Worker 235*6a54128fSAndroid Build Coastguard WorkerIf any portion of this section is held invalid or unenforceable under 236*6a54128fSAndroid Build Coastguard Workerany particular circumstance, the balance of the section is intended to 237*6a54128fSAndroid Build Coastguard Workerapply and the section as a whole is intended to apply in other 238*6a54128fSAndroid Build Coastguard Workercircumstances. 239*6a54128fSAndroid Build Coastguard Worker 240*6a54128fSAndroid Build Coastguard WorkerIt is not the purpose of this section to induce you to infringe any 241*6a54128fSAndroid Build Coastguard Workerpatents or other property right claims or to contest validity of any 242*6a54128fSAndroid Build Coastguard Workersuch claims; this section has the sole purpose of protecting the 243*6a54128fSAndroid Build Coastguard Workerintegrity of the free software distribution system, which is 244*6a54128fSAndroid Build Coastguard Workerimplemented by public license practices. Many people have made 245*6a54128fSAndroid Build Coastguard Workergenerous contributions to the wide range of software distributed 246*6a54128fSAndroid Build Coastguard Workerthrough that system in reliance on consistent application of that 247*6a54128fSAndroid Build Coastguard Workersystem; it is up to the author/donor to decide if he or she is willing 248*6a54128fSAndroid Build Coastguard Workerto distribute software through any other system and a licensee cannot 249*6a54128fSAndroid Build Coastguard Workerimpose that choice. 250*6a54128fSAndroid Build Coastguard Worker 251*6a54128fSAndroid Build Coastguard WorkerThis section is intended to make thoroughly clear what is believed to 252*6a54128fSAndroid Build Coastguard Workerbe a consequence of the rest of this License. 253*6a54128fSAndroid Build Coastguard Worker 254*6a54128fSAndroid Build Coastguard Worker 8. If the distribution and/or use of the Program is restricted in 255*6a54128fSAndroid Build Coastguard Workercertain countries either by patents or by copyrighted interfaces, the 256*6a54128fSAndroid Build Coastguard Workeroriginal copyright holder who places the Program under this License 257*6a54128fSAndroid Build Coastguard Workermay add an explicit geographical distribution limitation excluding 258*6a54128fSAndroid Build Coastguard Workerthose countries, so that distribution is permitted only in or among 259*6a54128fSAndroid Build Coastguard Workercountries not thus excluded. In such case, this License incorporates 260*6a54128fSAndroid Build Coastguard Workerthe limitation as if written in the body of this License. 261*6a54128fSAndroid Build Coastguard Worker 262*6a54128fSAndroid Build Coastguard Worker 9. The Free Software Foundation may publish revised and/or new versions 263*6a54128fSAndroid Build Coastguard Workerof the General Public License from time to time. Such new versions will 264*6a54128fSAndroid Build Coastguard Workerbe similar in spirit to the present version, but may differ in detail to 265*6a54128fSAndroid Build Coastguard Workeraddress new problems or concerns. 266*6a54128fSAndroid Build Coastguard Worker 267*6a54128fSAndroid Build Coastguard WorkerEach version is given a distinguishing version number. If the Program 268*6a54128fSAndroid Build Coastguard Workerspecifies a version number of this License which applies to it and "any 269*6a54128fSAndroid Build Coastguard Workerlater version", you have the option of following the terms and conditions 270*6a54128fSAndroid Build Coastguard Workereither of that version or of any later version published by the Free 271*6a54128fSAndroid Build Coastguard WorkerSoftware Foundation. If the Program does not specify a version number of 272*6a54128fSAndroid Build Coastguard Workerthis License, you may choose any version ever published by the Free Software 273*6a54128fSAndroid Build Coastguard WorkerFoundation. 274*6a54128fSAndroid Build Coastguard Worker 275*6a54128fSAndroid Build Coastguard Worker 10. If you wish to incorporate parts of the Program into other free 276*6a54128fSAndroid Build Coastguard Workerprograms whose distribution conditions are different, write to the author 277*6a54128fSAndroid Build Coastguard Workerto ask for permission. For software which is copyrighted by the Free 278*6a54128fSAndroid Build Coastguard WorkerSoftware Foundation, write to the Free Software Foundation; we sometimes 279*6a54128fSAndroid Build Coastguard Workermake exceptions for this. Our decision will be guided by the two goals 280*6a54128fSAndroid Build Coastguard Workerof preserving the free status of all derivatives of our free software and 281*6a54128fSAndroid Build Coastguard Workerof promoting the sharing and reuse of software generally. 282*6a54128fSAndroid Build Coastguard Worker 283*6a54128fSAndroid Build Coastguard Worker NO WARRANTY 284*6a54128fSAndroid Build Coastguard Worker 285*6a54128fSAndroid Build Coastguard Worker 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 286*6a54128fSAndroid Build Coastguard WorkerFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 287*6a54128fSAndroid Build Coastguard WorkerOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 288*6a54128fSAndroid Build Coastguard WorkerPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 289*6a54128fSAndroid Build Coastguard WorkerOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 290*6a54128fSAndroid Build Coastguard WorkerMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 291*6a54128fSAndroid Build Coastguard WorkerTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 292*6a54128fSAndroid Build Coastguard WorkerPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 293*6a54128fSAndroid Build Coastguard WorkerREPAIR OR CORRECTION. 294*6a54128fSAndroid Build Coastguard Worker 295*6a54128fSAndroid Build Coastguard Worker 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 296*6a54128fSAndroid Build Coastguard WorkerWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 297*6a54128fSAndroid Build Coastguard WorkerREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 298*6a54128fSAndroid Build Coastguard WorkerINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 299*6a54128fSAndroid Build Coastguard WorkerOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 300*6a54128fSAndroid Build Coastguard WorkerTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 301*6a54128fSAndroid Build Coastguard WorkerYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 302*6a54128fSAndroid Build Coastguard WorkerPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 303*6a54128fSAndroid Build Coastguard WorkerPOSSIBILITY OF SUCH DAMAGES. 304*6a54128fSAndroid Build Coastguard Worker 305*6a54128fSAndroid Build Coastguard Worker END OF TERMS AND CONDITIONS 306*6a54128fSAndroid Build Coastguard Worker 307*6a54128fSAndroid Build Coastguard Worker How to Apply These Terms to Your New Programs 308*6a54128fSAndroid Build Coastguard Worker 309*6a54128fSAndroid Build Coastguard Worker If you develop a new program, and you want it to be of the greatest 310*6a54128fSAndroid Build Coastguard Workerpossible use to the public, the best way to achieve this is to make it 311*6a54128fSAndroid Build Coastguard Workerfree software which everyone can redistribute and change under these terms. 312*6a54128fSAndroid Build Coastguard Worker 313*6a54128fSAndroid Build Coastguard Worker To do so, attach the following notices to the program. It is safest 314*6a54128fSAndroid Build Coastguard Workerto attach them to the start of each source file to most effectively 315*6a54128fSAndroid Build Coastguard Workerconvey the exclusion of warranty; and each file should have at least 316*6a54128fSAndroid Build Coastguard Workerthe "copyright" line and a pointer to where the full notice is found. 317*6a54128fSAndroid Build Coastguard Worker 318*6a54128fSAndroid Build Coastguard Worker <one line to give the program's name and a brief idea of what it does.> 319*6a54128fSAndroid Build Coastguard Worker Copyright (C) <year> <name of author> 320*6a54128fSAndroid Build Coastguard Worker 321*6a54128fSAndroid Build Coastguard Worker This program is free software; you can redistribute it and/or modify 322*6a54128fSAndroid Build Coastguard Worker it under the terms of the GNU General Public License as published by 323*6a54128fSAndroid Build Coastguard Worker the Free Software Foundation; either version 2 of the License, or 324*6a54128fSAndroid Build Coastguard Worker (at your option) any later version. 325*6a54128fSAndroid Build Coastguard Worker 326*6a54128fSAndroid Build Coastguard Worker This program is distributed in the hope that it will be useful, 327*6a54128fSAndroid Build Coastguard Worker but WITHOUT ANY WARRANTY; without even the implied warranty of 328*6a54128fSAndroid Build Coastguard Worker MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 329*6a54128fSAndroid Build Coastguard Worker GNU General Public License for more details. 330*6a54128fSAndroid Build Coastguard Worker 331*6a54128fSAndroid Build Coastguard Worker You should have received a copy of the GNU General Public License 332*6a54128fSAndroid Build Coastguard Worker along with this program; if not, write to the Free Software 333*6a54128fSAndroid Build Coastguard Worker Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 334*6a54128fSAndroid Build Coastguard Worker 335*6a54128fSAndroid Build Coastguard Worker 336*6a54128fSAndroid Build Coastguard WorkerAlso add information on how to contact you by electronic and paper mail. 337*6a54128fSAndroid Build Coastguard Worker 338*6a54128fSAndroid Build Coastguard WorkerIf the program is interactive, make it output a short notice like this 339*6a54128fSAndroid Build Coastguard Workerwhen it starts in an interactive mode: 340*6a54128fSAndroid Build Coastguard Worker 341*6a54128fSAndroid Build Coastguard Worker Gnomovision version 69, Copyright (C) year name of author 342*6a54128fSAndroid Build Coastguard Worker Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 343*6a54128fSAndroid Build Coastguard Worker This is free software, and you are welcome to redistribute it 344*6a54128fSAndroid Build Coastguard Worker under certain conditions; type `show c' for details. 345*6a54128fSAndroid Build Coastguard Worker 346*6a54128fSAndroid Build Coastguard WorkerThe hypothetical commands `show w' and `show c' should show the appropriate 347*6a54128fSAndroid Build Coastguard Workerparts of the General Public License. Of course, the commands you use may 348*6a54128fSAndroid Build Coastguard Workerbe called something other than `show w' and `show c'; they could even be 349*6a54128fSAndroid Build Coastguard Workermouse-clicks or menu items--whatever suits your program. 350*6a54128fSAndroid Build Coastguard Worker 351*6a54128fSAndroid Build Coastguard WorkerYou should also get your employer (if you work as a programmer) or your 352*6a54128fSAndroid Build Coastguard Workerschool, if any, to sign a "copyright disclaimer" for the program, if 353*6a54128fSAndroid Build Coastguard Workernecessary. Here is a sample; alter the names: 354*6a54128fSAndroid Build Coastguard Worker 355*6a54128fSAndroid Build Coastguard Worker Yoyodyne, Inc., hereby disclaims all copyright interest in the program 356*6a54128fSAndroid Build Coastguard Worker `Gnomovision' (which makes passes at compilers) written by James Hacker. 357*6a54128fSAndroid Build Coastguard Worker 358*6a54128fSAndroid Build Coastguard Worker <signature of Ty Coon>, 1 April 1989 359*6a54128fSAndroid Build Coastguard Worker Ty Coon, President of Vice 360*6a54128fSAndroid Build Coastguard Worker 361*6a54128fSAndroid Build Coastguard WorkerThis General Public License does not permit incorporating your program into 362*6a54128fSAndroid Build Coastguard Workerproprietary programs. If your program is a subroutine library, you may 363*6a54128fSAndroid Build Coastguard Workerconsider it more useful to permit linking proprietary applications with the 364*6a54128fSAndroid Build Coastguard Workerlibrary. If this is what you want to do, use the GNU Library General 365*6a54128fSAndroid Build Coastguard WorkerPublic License instead of this License. 366*6a54128fSAndroid Build Coastguard Worker 367*6a54128fSAndroid Build Coastguard Worker---------------------------------------------------------------------- 368*6a54128fSAndroid Build Coastguard Worker 369*6a54128fSAndroid Build Coastguard Worker GNU LIBRARY GENERAL PUBLIC LICENSE 370*6a54128fSAndroid Build Coastguard Worker Version 2, June 1991 371*6a54128fSAndroid Build Coastguard Worker 372*6a54128fSAndroid Build Coastguard Worker Copyright (C) 1991 Free Software Foundation, Inc. 373*6a54128fSAndroid Build Coastguard Worker 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 374*6a54128fSAndroid Build Coastguard Worker Everyone is permitted to copy and distribute verbatim copies 375*6a54128fSAndroid Build Coastguard Worker of this license document, but changing it is not allowed. 376*6a54128fSAndroid Build Coastguard Worker 377*6a54128fSAndroid Build Coastguard Worker[This is the first released version of the library GPL. It is 378*6a54128fSAndroid Build Coastguard Worker numbered 2 because it goes with version 2 of the ordinary GPL.] 379*6a54128fSAndroid Build Coastguard Worker 380*6a54128fSAndroid Build Coastguard Worker Preamble 381*6a54128fSAndroid Build Coastguard Worker 382*6a54128fSAndroid Build Coastguard Worker The licenses for most software are designed to take away your 383*6a54128fSAndroid Build Coastguard Workerfreedom to share and change it. By contrast, the GNU General Public 384*6a54128fSAndroid Build Coastguard WorkerLicenses are intended to guarantee your freedom to share and change 385*6a54128fSAndroid Build Coastguard Workerfree software--to make sure the software is free for all its users. 386*6a54128fSAndroid Build Coastguard Worker 387*6a54128fSAndroid Build Coastguard Worker This license, the Library General Public License, applies to some 388*6a54128fSAndroid Build Coastguard Workerspecially designated Free Software Foundation software, and to any 389*6a54128fSAndroid Build Coastguard Workerother libraries whose authors decide to use it. You can use it for 390*6a54128fSAndroid Build Coastguard Workeryour libraries, too. 391*6a54128fSAndroid Build Coastguard Worker 392*6a54128fSAndroid Build Coastguard Worker When we speak of free software, we are referring to freedom, not 393*6a54128fSAndroid Build Coastguard Workerprice. Our General Public Licenses are designed to make sure that you 394*6a54128fSAndroid Build Coastguard Workerhave the freedom to distribute copies of free software (and charge for 395*6a54128fSAndroid Build Coastguard Workerthis service if you wish), that you receive source code or can get it 396*6a54128fSAndroid Build Coastguard Workerif you want it, that you can change the software or use pieces of it 397*6a54128fSAndroid Build Coastguard Workerin new free programs; and that you know you can do these things. 398*6a54128fSAndroid Build Coastguard Worker 399*6a54128fSAndroid Build Coastguard Worker To protect your rights, we need to make restrictions that forbid 400*6a54128fSAndroid Build Coastguard Workeranyone to deny you these rights or to ask you to surrender the rights. 401*6a54128fSAndroid Build Coastguard WorkerThese restrictions translate to certain responsibilities for you if 402*6a54128fSAndroid Build Coastguard Workeryou distribute copies of the library, or if you modify it. 403*6a54128fSAndroid Build Coastguard Worker 404*6a54128fSAndroid Build Coastguard Worker For example, if you distribute copies of the library, whether gratis 405*6a54128fSAndroid Build Coastguard Workeror for a fee, you must give the recipients all the rights that we gave 406*6a54128fSAndroid Build Coastguard Workeryou. You must make sure that they, too, receive or can get the source 407*6a54128fSAndroid Build Coastguard Workercode. If you link a program with the library, you must provide 408*6a54128fSAndroid Build Coastguard Workercomplete object files to the recipients so that they can relink them 409*6a54128fSAndroid Build Coastguard Workerwith the library, after making changes to the library and recompiling 410*6a54128fSAndroid Build Coastguard Workerit. And you must show them these terms so they know their rights. 411*6a54128fSAndroid Build Coastguard Worker 412*6a54128fSAndroid Build Coastguard Worker Our method of protecting your rights has two steps: (1) copyright 413*6a54128fSAndroid Build Coastguard Workerthe library, and (2) offer you this license which gives you legal 414*6a54128fSAndroid Build Coastguard Workerpermission to copy, distribute and/or modify the library. 415*6a54128fSAndroid Build Coastguard Worker 416*6a54128fSAndroid Build Coastguard Worker Also, for each distributor's protection, we want to make certain 417*6a54128fSAndroid Build Coastguard Workerthat everyone understands that there is no warranty for this free 418*6a54128fSAndroid Build Coastguard Workerlibrary. If the library is modified by someone else and passed on, we 419*6a54128fSAndroid Build Coastguard Workerwant its recipients to know that what they have is not the original 420*6a54128fSAndroid Build Coastguard Workerversion, so that any problems introduced by others will not reflect on 421*6a54128fSAndroid Build Coastguard Workerthe original authors' reputations. 422*6a54128fSAndroid Build Coastguard Worker 423*6a54128fSAndroid Build Coastguard Worker Finally, any free program is threatened constantly by software 424*6a54128fSAndroid Build Coastguard Workerpatents. We wish to avoid the danger that companies distributing free 425*6a54128fSAndroid Build Coastguard Workersoftware will individually obtain patent licenses, thus in effect 426*6a54128fSAndroid Build Coastguard Workertransforming the program into proprietary software. To prevent this, 427*6a54128fSAndroid Build Coastguard Workerwe have made it clear that any patent must be licensed for everyone's 428*6a54128fSAndroid Build Coastguard Workerfree use or not licensed at all. 429*6a54128fSAndroid Build Coastguard Worker 430*6a54128fSAndroid Build Coastguard Worker Most GNU software, including some libraries, is covered by the ordinary 431*6a54128fSAndroid Build Coastguard WorkerGNU General Public License, which was designed for utility programs. This 432*6a54128fSAndroid Build Coastguard Workerlicense, the GNU Library General Public License, applies to certain 433*6a54128fSAndroid Build Coastguard Workerdesignated libraries. This license is quite different from the ordinary 434*6a54128fSAndroid Build Coastguard Workerone; be sure to read it in full, and don't assume that anything in it is 435*6a54128fSAndroid Build Coastguard Workerthe same as in the ordinary license. 436*6a54128fSAndroid Build Coastguard Worker 437*6a54128fSAndroid Build Coastguard Worker The reason we have a separate public license for some libraries is that 438*6a54128fSAndroid Build Coastguard Workerthey blur the distinction we usually make between modifying or adding to a 439*6a54128fSAndroid Build Coastguard Workerprogram and simply using it. Linking a program with a library, without 440*6a54128fSAndroid Build Coastguard Workerchanging the library, is in some sense simply using the library, and is 441*6a54128fSAndroid Build Coastguard Workeranalogous to running a utility program or application program. However, in 442*6a54128fSAndroid Build Coastguard Workera textual and legal sense, the linked executable is a combined work, a 443*6a54128fSAndroid Build Coastguard Workerderivative of the original library, and the ordinary General Public License 444*6a54128fSAndroid Build Coastguard Workertreats it as such. 445*6a54128fSAndroid Build Coastguard Worker 446*6a54128fSAndroid Build Coastguard Worker Because of this blurred distinction, using the ordinary General 447*6a54128fSAndroid Build Coastguard WorkerPublic License for libraries did not effectively promote software 448*6a54128fSAndroid Build Coastguard Workersharing, because most developers did not use the libraries. We 449*6a54128fSAndroid Build Coastguard Workerconcluded that weaker conditions might promote sharing better. 450*6a54128fSAndroid Build Coastguard Worker 451*6a54128fSAndroid Build Coastguard Worker However, unrestricted linking of non-free programs would deprive the 452*6a54128fSAndroid Build Coastguard Workerusers of those programs of all benefit from the free status of the 453*6a54128fSAndroid Build Coastguard Workerlibraries themselves. This Library General Public License is intended to 454*6a54128fSAndroid Build Coastguard Workerpermit developers of non-free programs to use free libraries, while 455*6a54128fSAndroid Build Coastguard Workerpreserving your freedom as a user of such programs to change the free 456*6a54128fSAndroid Build Coastguard Workerlibraries that are incorporated in them. (We have not seen how to achieve 457*6a54128fSAndroid Build Coastguard Workerthis as regards changes in header files, but we have achieved it as regards 458*6a54128fSAndroid Build Coastguard Workerchanges in the actual functions of the Library.) The hope is that this 459*6a54128fSAndroid Build Coastguard Workerwill lead to faster development of free libraries. 460*6a54128fSAndroid Build Coastguard Worker 461*6a54128fSAndroid Build Coastguard Worker The precise terms and conditions for copying, distribution and 462*6a54128fSAndroid Build Coastguard Workermodification follow. Pay close attention to the difference between a 463*6a54128fSAndroid Build Coastguard Worker"work based on the library" and a "work that uses the library". The 464*6a54128fSAndroid Build Coastguard Workerformer contains code derived from the library, while the latter only 465*6a54128fSAndroid Build Coastguard Workerworks together with the library. 466*6a54128fSAndroid Build Coastguard Worker 467*6a54128fSAndroid Build Coastguard Worker Note that it is possible for a library to be covered by the ordinary 468*6a54128fSAndroid Build Coastguard WorkerGeneral Public License rather than by this special one. 469*6a54128fSAndroid Build Coastguard Worker 470*6a54128fSAndroid Build Coastguard Worker GNU LIBRARY GENERAL PUBLIC LICENSE 471*6a54128fSAndroid Build Coastguard Worker TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 472*6a54128fSAndroid Build Coastguard Worker 473*6a54128fSAndroid Build Coastguard Worker 0. This License Agreement applies to any software library which 474*6a54128fSAndroid Build Coastguard Workercontains a notice placed by the copyright holder or other authorized 475*6a54128fSAndroid Build Coastguard Workerparty saying it may be distributed under the terms of this Library 476*6a54128fSAndroid Build Coastguard WorkerGeneral Public License (also called "this License"). Each licensee is 477*6a54128fSAndroid Build Coastguard Workeraddressed as "you". 478*6a54128fSAndroid Build Coastguard Worker 479*6a54128fSAndroid Build Coastguard Worker A "library" means a collection of software functions and/or data 480*6a54128fSAndroid Build Coastguard Workerprepared so as to be conveniently linked with application programs 481*6a54128fSAndroid Build Coastguard Worker(which use some of those functions and data) to form executables. 482*6a54128fSAndroid Build Coastguard Worker 483*6a54128fSAndroid Build Coastguard Worker The "Library", below, refers to any such software library or work 484*6a54128fSAndroid Build Coastguard Workerwhich has been distributed under these terms. A "work based on the 485*6a54128fSAndroid Build Coastguard WorkerLibrary" means either the Library or any derivative work under 486*6a54128fSAndroid Build Coastguard Workercopyright law: that is to say, a work containing the Library or a 487*6a54128fSAndroid Build Coastguard Workerportion of it, either verbatim or with modifications and/or translated 488*6a54128fSAndroid Build Coastguard Workerstraightforwardly into another language. (Hereinafter, translation is 489*6a54128fSAndroid Build Coastguard Workerincluded without limitation in the term "modification".) 490*6a54128fSAndroid Build Coastguard Worker 491*6a54128fSAndroid Build Coastguard Worker "Source code" for a work means the preferred form of the work for 492*6a54128fSAndroid Build Coastguard Workermaking modifications to it. For a library, complete source code means 493*6a54128fSAndroid Build Coastguard Workerall the source code for all modules it contains, plus any associated 494*6a54128fSAndroid Build Coastguard Workerinterface definition files, plus the scripts used to control compilation 495*6a54128fSAndroid Build Coastguard Workerand installation of the library. 496*6a54128fSAndroid Build Coastguard Worker 497*6a54128fSAndroid Build Coastguard Worker Activities other than copying, distribution and modification are not 498*6a54128fSAndroid Build Coastguard Workercovered by this License; they are outside its scope. The act of 499*6a54128fSAndroid Build Coastguard Workerrunning a program using the Library is not restricted, and output from 500*6a54128fSAndroid Build Coastguard Workersuch a program is covered only if its contents constitute a work based 501*6a54128fSAndroid Build Coastguard Workeron the Library (independent of the use of the Library in a tool for 502*6a54128fSAndroid Build Coastguard Workerwriting it). Whether that is true depends on what the Library does 503*6a54128fSAndroid Build Coastguard Workerand what the program that uses the Library does. 504*6a54128fSAndroid Build Coastguard Worker 505*6a54128fSAndroid Build Coastguard Worker 1. You may copy and distribute verbatim copies of the Library's 506*6a54128fSAndroid Build Coastguard Workercomplete source code as you receive it, in any medium, provided that 507*6a54128fSAndroid Build Coastguard Workeryou conspicuously and appropriately publish on each copy an 508*6a54128fSAndroid Build Coastguard Workerappropriate copyright notice and disclaimer of warranty; keep intact 509*6a54128fSAndroid Build Coastguard Workerall the notices that refer to this License and to the absence of any 510*6a54128fSAndroid Build Coastguard Workerwarranty; and distribute a copy of this License along with the 511*6a54128fSAndroid Build Coastguard WorkerLibrary. 512*6a54128fSAndroid Build Coastguard Worker 513*6a54128fSAndroid Build Coastguard Worker You may charge a fee for the physical act of transferring a copy, 514*6a54128fSAndroid Build Coastguard Workerand you may at your option offer warranty protection in exchange for a 515*6a54128fSAndroid Build Coastguard Workerfee. 516*6a54128fSAndroid Build Coastguard Worker 517*6a54128fSAndroid Build Coastguard Worker 2. You may modify your copy or copies of the Library or any portion 518*6a54128fSAndroid Build Coastguard Workerof it, thus forming a work based on the Library, and copy and 519*6a54128fSAndroid Build Coastguard Workerdistribute such modifications or work under the terms of Section 1 520*6a54128fSAndroid Build Coastguard Workerabove, provided that you also meet all of these conditions: 521*6a54128fSAndroid Build Coastguard Worker 522*6a54128fSAndroid Build Coastguard Worker a) The modified work must itself be a software library. 523*6a54128fSAndroid Build Coastguard Worker 524*6a54128fSAndroid Build Coastguard Worker b) You must cause the files modified to carry prominent notices 525*6a54128fSAndroid Build Coastguard Worker stating that you changed the files and the date of any change. 526*6a54128fSAndroid Build Coastguard Worker 527*6a54128fSAndroid Build Coastguard Worker c) You must cause the whole of the work to be licensed at no 528*6a54128fSAndroid Build Coastguard Worker charge to all third parties under the terms of this License. 529*6a54128fSAndroid Build Coastguard Worker 530*6a54128fSAndroid Build Coastguard Worker d) If a facility in the modified Library refers to a function or a 531*6a54128fSAndroid Build Coastguard Worker table of data to be supplied by an application program that uses 532*6a54128fSAndroid Build Coastguard Worker the facility, other than as an argument passed when the facility 533*6a54128fSAndroid Build Coastguard Worker is invoked, then you must make a good faith effort to ensure that, 534*6a54128fSAndroid Build Coastguard Worker in the event an application does not supply such function or 535*6a54128fSAndroid Build Coastguard Worker table, the facility still operates, and performs whatever part of 536*6a54128fSAndroid Build Coastguard Worker its purpose remains meaningful. 537*6a54128fSAndroid Build Coastguard Worker 538*6a54128fSAndroid Build Coastguard Worker (For example, a function in a library to compute square roots has 539*6a54128fSAndroid Build Coastguard Worker a purpose that is entirely well-defined independent of the 540*6a54128fSAndroid Build Coastguard Worker application. Therefore, Subsection 2d requires that any 541*6a54128fSAndroid Build Coastguard Worker application-supplied function or table used by this function must 542*6a54128fSAndroid Build Coastguard Worker be optional: if the application does not supply it, the square 543*6a54128fSAndroid Build Coastguard Worker root function must still compute square roots.) 544*6a54128fSAndroid Build Coastguard Worker 545*6a54128fSAndroid Build Coastguard WorkerThese requirements apply to the modified work as a whole. If 546*6a54128fSAndroid Build Coastguard Workeridentifiable sections of that work are not derived from the Library, 547*6a54128fSAndroid Build Coastguard Workerand can be reasonably considered independent and separate works in 548*6a54128fSAndroid Build Coastguard Workerthemselves, then this License, and its terms, do not apply to those 549*6a54128fSAndroid Build Coastguard Workersections when you distribute them as separate works. But when you 550*6a54128fSAndroid Build Coastguard Workerdistribute the same sections as part of a whole which is a work based 551*6a54128fSAndroid Build Coastguard Workeron the Library, the distribution of the whole must be on the terms of 552*6a54128fSAndroid Build Coastguard Workerthis License, whose permissions for other licensees extend to the 553*6a54128fSAndroid Build Coastguard Workerentire whole, and thus to each and every part regardless of who wrote 554*6a54128fSAndroid Build Coastguard Workerit. 555*6a54128fSAndroid Build Coastguard Worker 556*6a54128fSAndroid Build Coastguard WorkerThus, it is not the intent of this section to claim rights or contest 557*6a54128fSAndroid Build Coastguard Workeryour rights to work written entirely by you; rather, the intent is to 558*6a54128fSAndroid Build Coastguard Workerexercise the right to control the distribution of derivative or 559*6a54128fSAndroid Build Coastguard Workercollective works based on the Library. 560*6a54128fSAndroid Build Coastguard Worker 561*6a54128fSAndroid Build Coastguard WorkerIn addition, mere aggregation of another work not based on the Library 562*6a54128fSAndroid Build Coastguard Workerwith the Library (or with a work based on the Library) on a volume of 563*6a54128fSAndroid Build Coastguard Workera storage or distribution medium does not bring the other work under 564*6a54128fSAndroid Build Coastguard Workerthe scope of this License. 565*6a54128fSAndroid Build Coastguard Worker 566*6a54128fSAndroid Build Coastguard Worker 3. You may opt to apply the terms of the ordinary GNU General Public 567*6a54128fSAndroid Build Coastguard WorkerLicense instead of this License to a given copy of the Library. To do 568*6a54128fSAndroid Build Coastguard Workerthis, you must alter all the notices that refer to this License, so 569*6a54128fSAndroid Build Coastguard Workerthat they refer to the ordinary GNU General Public License, version 2, 570*6a54128fSAndroid Build Coastguard Workerinstead of to this License. (If a newer version than version 2 of the 571*6a54128fSAndroid Build Coastguard Workerordinary GNU General Public License has appeared, then you can specify 572*6a54128fSAndroid Build Coastguard Workerthat version instead if you wish.) Do not make any other change in 573*6a54128fSAndroid Build Coastguard Workerthese notices. 574*6a54128fSAndroid Build Coastguard Worker 575*6a54128fSAndroid Build Coastguard Worker Once this change is made in a given copy, it is irreversible for 576*6a54128fSAndroid Build Coastguard Workerthat copy, so the ordinary GNU General Public License applies to all 577*6a54128fSAndroid Build Coastguard Workersubsequent copies and derivative works made from that copy. 578*6a54128fSAndroid Build Coastguard Worker 579*6a54128fSAndroid Build Coastguard Worker This option is useful when you wish to copy part of the code of 580*6a54128fSAndroid Build Coastguard Workerthe Library into a program that is not a library. 581*6a54128fSAndroid Build Coastguard Worker 582*6a54128fSAndroid Build Coastguard Worker 4. You may copy and distribute the Library (or a portion or 583*6a54128fSAndroid Build Coastguard Workerderivative of it, under Section 2) in object code or executable form 584*6a54128fSAndroid Build Coastguard Workerunder the terms of Sections 1 and 2 above provided that you accompany 585*6a54128fSAndroid Build Coastguard Workerit with the complete corresponding machine-readable source code, which 586*6a54128fSAndroid Build Coastguard Workermust be distributed under the terms of Sections 1 and 2 above on a 587*6a54128fSAndroid Build Coastguard Workermedium customarily used for software interchange. 588*6a54128fSAndroid Build Coastguard Worker 589*6a54128fSAndroid Build Coastguard Worker If distribution of object code is made by offering access to copy 590*6a54128fSAndroid Build Coastguard Workerfrom a designated place, then offering equivalent access to copy the 591*6a54128fSAndroid Build Coastguard Workersource code from the same place satisfies the requirement to 592*6a54128fSAndroid Build Coastguard Workerdistribute the source code, even though third parties are not 593*6a54128fSAndroid Build Coastguard Workercompelled to copy the source along with the object code. 594*6a54128fSAndroid Build Coastguard Worker 595*6a54128fSAndroid Build Coastguard Worker 5. A program that contains no derivative of any portion of the 596*6a54128fSAndroid Build Coastguard WorkerLibrary, but is designed to work with the Library by being compiled or 597*6a54128fSAndroid Build Coastguard Workerlinked with it, is called a "work that uses the Library". Such a 598*6a54128fSAndroid Build Coastguard Workerwork, in isolation, is not a derivative work of the Library, and 599*6a54128fSAndroid Build Coastguard Workertherefore falls outside the scope of this License. 600*6a54128fSAndroid Build Coastguard Worker 601*6a54128fSAndroid Build Coastguard Worker However, linking a "work that uses the Library" with the Library 602*6a54128fSAndroid Build Coastguard Workercreates an executable that is a derivative of the Library (because it 603*6a54128fSAndroid Build Coastguard Workercontains portions of the Library), rather than a "work that uses the 604*6a54128fSAndroid Build Coastguard Workerlibrary". The executable is therefore covered by this License. 605*6a54128fSAndroid Build Coastguard WorkerSection 6 states terms for distribution of such executables. 606*6a54128fSAndroid Build Coastguard Worker 607*6a54128fSAndroid Build Coastguard Worker When a "work that uses the Library" uses material from a header file 608*6a54128fSAndroid Build Coastguard Workerthat is part of the Library, the object code for the work may be a 609*6a54128fSAndroid Build Coastguard Workerderivative work of the Library even though the source code is not. 610*6a54128fSAndroid Build Coastguard WorkerWhether this is true is especially significant if the work can be 611*6a54128fSAndroid Build Coastguard Workerlinked without the Library, or if the work is itself a library. The 612*6a54128fSAndroid Build Coastguard Workerthreshold for this to be true is not precisely defined by law. 613*6a54128fSAndroid Build Coastguard Worker 614*6a54128fSAndroid Build Coastguard Worker If such an object file uses only numerical parameters, data 615*6a54128fSAndroid Build Coastguard Workerstructure layouts and accessors, and small macros and small inline 616*6a54128fSAndroid Build Coastguard Workerfunctions (ten lines or less in length), then the use of the object 617*6a54128fSAndroid Build Coastguard Workerfile is unrestricted, regardless of whether it is legally a derivative 618*6a54128fSAndroid Build Coastguard Workerwork. (Executables containing this object code plus portions of the 619*6a54128fSAndroid Build Coastguard WorkerLibrary will still fall under Section 6.) 620*6a54128fSAndroid Build Coastguard Worker 621*6a54128fSAndroid Build Coastguard Worker Otherwise, if the work is a derivative of the Library, you may 622*6a54128fSAndroid Build Coastguard Workerdistribute the object code for the work under the terms of Section 6. 623*6a54128fSAndroid Build Coastguard WorkerAny executables containing that work also fall under Section 6, 624*6a54128fSAndroid Build Coastguard Workerwhether or not they are linked directly with the Library itself. 625*6a54128fSAndroid Build Coastguard Worker 626*6a54128fSAndroid Build Coastguard Worker 6. As an exception to the Sections above, you may also compile or 627*6a54128fSAndroid Build Coastguard Workerlink a "work that uses the Library" with the Library to produce a 628*6a54128fSAndroid Build Coastguard Workerwork containing portions of the Library, and distribute that work 629*6a54128fSAndroid Build Coastguard Workerunder terms of your choice, provided that the terms permit 630*6a54128fSAndroid Build Coastguard Workermodification of the work for the customer's own use and reverse 631*6a54128fSAndroid Build Coastguard Workerengineering for debugging such modifications. 632*6a54128fSAndroid Build Coastguard Worker 633*6a54128fSAndroid Build Coastguard Worker You must give prominent notice with each copy of the work that the 634*6a54128fSAndroid Build Coastguard WorkerLibrary is used in it and that the Library and its use are covered by 635*6a54128fSAndroid Build Coastguard Workerthis License. You must supply a copy of this License. If the work 636*6a54128fSAndroid Build Coastguard Workerduring execution displays copyright notices, you must include the 637*6a54128fSAndroid Build Coastguard Workercopyright notice for the Library among them, as well as a reference 638*6a54128fSAndroid Build Coastguard Workerdirecting the user to the copy of this License. Also, you must do one 639*6a54128fSAndroid Build Coastguard Workerof these things: 640*6a54128fSAndroid Build Coastguard Worker 641*6a54128fSAndroid Build Coastguard Worker a) Accompany the work with the complete corresponding 642*6a54128fSAndroid Build Coastguard Worker machine-readable source code for the Library including whatever 643*6a54128fSAndroid Build Coastguard Worker changes were used in the work (which must be distributed under 644*6a54128fSAndroid Build Coastguard Worker Sections 1 and 2 above); and, if the work is an executable linked 645*6a54128fSAndroid Build Coastguard Worker with the Library, with the complete machine-readable "work that 646*6a54128fSAndroid Build Coastguard Worker uses the Library", as object code and/or source code, so that the 647*6a54128fSAndroid Build Coastguard Worker user can modify the Library and then relink to produce a modified 648*6a54128fSAndroid Build Coastguard Worker executable containing the modified Library. (It is understood 649*6a54128fSAndroid Build Coastguard Worker that the user who changes the contents of definitions files in the 650*6a54128fSAndroid Build Coastguard Worker Library will not necessarily be able to recompile the application 651*6a54128fSAndroid Build Coastguard Worker to use the modified definitions.) 652*6a54128fSAndroid Build Coastguard Worker 653*6a54128fSAndroid Build Coastguard Worker b) Accompany the work with a written offer, valid for at 654*6a54128fSAndroid Build Coastguard Worker least three years, to give the same user the materials 655*6a54128fSAndroid Build Coastguard Worker specified in Subsection 6a, above, for a charge no more 656*6a54128fSAndroid Build Coastguard Worker than the cost of performing this distribution. 657*6a54128fSAndroid Build Coastguard Worker 658*6a54128fSAndroid Build Coastguard Worker c) If distribution of the work is made by offering access to copy 659*6a54128fSAndroid Build Coastguard Worker from a designated place, offer equivalent access to copy the above 660*6a54128fSAndroid Build Coastguard Worker specified materials from the same place. 661*6a54128fSAndroid Build Coastguard Worker 662*6a54128fSAndroid Build Coastguard Worker d) Verify that the user has already received a copy of these 663*6a54128fSAndroid Build Coastguard Worker materials or that you have already sent this user a copy. 664*6a54128fSAndroid Build Coastguard Worker 665*6a54128fSAndroid Build Coastguard Worker For an executable, the required form of the "work that uses the 666*6a54128fSAndroid Build Coastguard WorkerLibrary" must include any data and utility programs needed for 667*6a54128fSAndroid Build Coastguard Workerreproducing the executable from it. However, as a special exception, 668*6a54128fSAndroid Build Coastguard Workerthe source code distributed need not include anything that is normally 669*6a54128fSAndroid Build Coastguard Workerdistributed (in either source or binary form) with the major 670*6a54128fSAndroid Build Coastguard Workercomponents (compiler, kernel, and so on) of the operating system on 671*6a54128fSAndroid Build Coastguard Workerwhich the executable runs, unless that component itself accompanies 672*6a54128fSAndroid Build Coastguard Workerthe executable. 673*6a54128fSAndroid Build Coastguard Worker 674*6a54128fSAndroid Build Coastguard Worker It may happen that this requirement contradicts the license 675*6a54128fSAndroid Build Coastguard Workerrestrictions of other proprietary libraries that do not normally 676*6a54128fSAndroid Build Coastguard Workeraccompany the operating system. Such a contradiction means you cannot 677*6a54128fSAndroid Build Coastguard Workeruse both them and the Library together in an executable that you 678*6a54128fSAndroid Build Coastguard Workerdistribute. 679*6a54128fSAndroid Build Coastguard Worker 680*6a54128fSAndroid Build Coastguard Worker 7. You may place library facilities that are a work based on the 681*6a54128fSAndroid Build Coastguard WorkerLibrary side-by-side in a single library together with other library 682*6a54128fSAndroid Build Coastguard Workerfacilities not covered by this License, and distribute such a combined 683*6a54128fSAndroid Build Coastguard Workerlibrary, provided that the separate distribution of the work based on 684*6a54128fSAndroid Build Coastguard Workerthe Library and of the other library facilities is otherwise 685*6a54128fSAndroid Build Coastguard Workerpermitted, and provided that you do these two things: 686*6a54128fSAndroid Build Coastguard Worker 687*6a54128fSAndroid Build Coastguard Worker a) Accompany the combined library with a copy of the same work 688*6a54128fSAndroid Build Coastguard Worker based on the Library, uncombined with any other library 689*6a54128fSAndroid Build Coastguard Worker facilities. This must be distributed under the terms of the 690*6a54128fSAndroid Build Coastguard Worker Sections above. 691*6a54128fSAndroid Build Coastguard Worker 692*6a54128fSAndroid Build Coastguard Worker b) Give prominent notice with the combined library of the fact 693*6a54128fSAndroid Build Coastguard Worker that part of it is a work based on the Library, and explaining 694*6a54128fSAndroid Build Coastguard Worker where to find the accompanying uncombined form of the same work. 695*6a54128fSAndroid Build Coastguard Worker 696*6a54128fSAndroid Build Coastguard Worker 8. You may not copy, modify, sublicense, link with, or distribute 697*6a54128fSAndroid Build Coastguard Workerthe Library except as expressly provided under this License. Any 698*6a54128fSAndroid Build Coastguard Workerattempt otherwise to copy, modify, sublicense, link with, or 699*6a54128fSAndroid Build Coastguard Workerdistribute the Library is void, and will automatically terminate your 700*6a54128fSAndroid Build Coastguard Workerrights under this License. However, parties who have received copies, 701*6a54128fSAndroid Build Coastguard Workeror rights, from you under this License will not have their licenses 702*6a54128fSAndroid Build Coastguard Workerterminated so long as such parties remain in full compliance. 703*6a54128fSAndroid Build Coastguard Worker 704*6a54128fSAndroid Build Coastguard Worker 9. You are not required to accept this License, since you have not 705*6a54128fSAndroid Build Coastguard Workersigned it. However, nothing else grants you permission to modify or 706*6a54128fSAndroid Build Coastguard Workerdistribute the Library or its derivative works. These actions are 707*6a54128fSAndroid Build Coastguard Workerprohibited by law if you do not accept this License. Therefore, by 708*6a54128fSAndroid Build Coastguard Workermodifying or distributing the Library (or any work based on the 709*6a54128fSAndroid Build Coastguard WorkerLibrary), you indicate your acceptance of this License to do so, and 710*6a54128fSAndroid Build Coastguard Workerall its terms and conditions for copying, distributing or modifying 711*6a54128fSAndroid Build Coastguard Workerthe Library or works based on it. 712*6a54128fSAndroid Build Coastguard Worker 713*6a54128fSAndroid Build Coastguard Worker 10. Each time you redistribute the Library (or any work based on the 714*6a54128fSAndroid Build Coastguard WorkerLibrary), the recipient automatically receives a license from the 715*6a54128fSAndroid Build Coastguard Workeroriginal licensor to copy, distribute, link with or modify the Library 716*6a54128fSAndroid Build Coastguard Workersubject to these terms and conditions. You may not impose any further 717*6a54128fSAndroid Build Coastguard Workerrestrictions on the recipients' exercise of the rights granted herein. 718*6a54128fSAndroid Build Coastguard WorkerYou are not responsible for enforcing compliance by third parties to 719*6a54128fSAndroid Build Coastguard Workerthis License. 720*6a54128fSAndroid Build Coastguard Worker 721*6a54128fSAndroid Build Coastguard Worker 11. If, as a consequence of a court judgment or allegation of patent 722*6a54128fSAndroid Build Coastguard Workerinfringement or for any other reason (not limited to patent issues), 723*6a54128fSAndroid Build Coastguard Workerconditions are imposed on you (whether by court order, agreement or 724*6a54128fSAndroid Build Coastguard Workerotherwise) that contradict the conditions of this License, they do not 725*6a54128fSAndroid Build Coastguard Workerexcuse you from the conditions of this License. If you cannot 726*6a54128fSAndroid Build Coastguard Workerdistribute so as to satisfy simultaneously your obligations under this 727*6a54128fSAndroid Build Coastguard WorkerLicense and any other pertinent obligations, then as a consequence you 728*6a54128fSAndroid Build Coastguard Workermay not distribute the Library at all. For example, if a patent 729*6a54128fSAndroid Build Coastguard Workerlicense would not permit royalty-free redistribution of the Library by 730*6a54128fSAndroid Build Coastguard Workerall those who receive copies directly or indirectly through you, then 731*6a54128fSAndroid Build Coastguard Workerthe only way you could satisfy both it and this License would be to 732*6a54128fSAndroid Build Coastguard Workerrefrain entirely from distribution of the Library. 733*6a54128fSAndroid Build Coastguard Worker 734*6a54128fSAndroid Build Coastguard WorkerIf any portion of this section is held invalid or unenforceable under any 735*6a54128fSAndroid Build Coastguard Workerparticular circumstance, the balance of the section is intended to apply, 736*6a54128fSAndroid Build Coastguard Workerand the section as a whole is intended to apply in other circumstances. 737*6a54128fSAndroid Build Coastguard Worker 738*6a54128fSAndroid Build Coastguard WorkerIt is not the purpose of this section to induce you to infringe any 739*6a54128fSAndroid Build Coastguard Workerpatents or other property right claims or to contest validity of any 740*6a54128fSAndroid Build Coastguard Workersuch claims; this section has the sole purpose of protecting the 741*6a54128fSAndroid Build Coastguard Workerintegrity of the free software distribution system which is 742*6a54128fSAndroid Build Coastguard Workerimplemented by public license practices. Many people have made 743*6a54128fSAndroid Build Coastguard Workergenerous contributions to the wide range of software distributed 744*6a54128fSAndroid Build Coastguard Workerthrough that system in reliance on consistent application of that 745*6a54128fSAndroid Build Coastguard Workersystem; it is up to the author/donor to decide if he or she is willing 746*6a54128fSAndroid Build Coastguard Workerto distribute software through any other system and a licensee cannot 747*6a54128fSAndroid Build Coastguard Workerimpose that choice. 748*6a54128fSAndroid Build Coastguard Worker 749*6a54128fSAndroid Build Coastguard WorkerThis section is intended to make thoroughly clear what is believed to 750*6a54128fSAndroid Build Coastguard Workerbe a consequence of the rest of this License. 751*6a54128fSAndroid Build Coastguard Worker 752*6a54128fSAndroid Build Coastguard Worker 12. If the distribution and/or use of the Library is restricted in 753*6a54128fSAndroid Build Coastguard Workercertain countries either by patents or by copyrighted interfaces, the 754*6a54128fSAndroid Build Coastguard Workeroriginal copyright holder who places the Library under this License may add 755*6a54128fSAndroid Build Coastguard Workeran explicit geographical distribution limitation excluding those countries, 756*6a54128fSAndroid Build Coastguard Workerso that distribution is permitted only in or among countries not thus 757*6a54128fSAndroid Build Coastguard Workerexcluded. In such case, this License incorporates the limitation as if 758*6a54128fSAndroid Build Coastguard Workerwritten in the body of this License. 759*6a54128fSAndroid Build Coastguard Worker 760*6a54128fSAndroid Build Coastguard Worker 13. The Free Software Foundation may publish revised and/or new 761*6a54128fSAndroid Build Coastguard Workerversions of the Library General Public License from time to time. 762*6a54128fSAndroid Build Coastguard WorkerSuch new versions will be similar in spirit to the present version, 763*6a54128fSAndroid Build Coastguard Workerbut may differ in detail to address new problems or concerns. 764*6a54128fSAndroid Build Coastguard Worker 765*6a54128fSAndroid Build Coastguard WorkerEach version is given a distinguishing version number. If the Library 766*6a54128fSAndroid Build Coastguard Workerspecifies a version number of this License which applies to it and 767*6a54128fSAndroid Build Coastguard Worker"any later version", you have the option of following the terms and 768*6a54128fSAndroid Build Coastguard Workerconditions either of that version or of any later version published by 769*6a54128fSAndroid Build Coastguard Workerthe Free Software Foundation. If the Library does not specify a 770*6a54128fSAndroid Build Coastguard Workerlicense version number, you may choose any version ever published by 771*6a54128fSAndroid Build Coastguard Workerthe Free Software Foundation. 772*6a54128fSAndroid Build Coastguard Worker 773*6a54128fSAndroid Build Coastguard Worker 14. If you wish to incorporate parts of the Library into other free 774*6a54128fSAndroid Build Coastguard Workerprograms whose distribution conditions are incompatible with these, 775*6a54128fSAndroid Build Coastguard Workerwrite to the author to ask for permission. For software which is 776*6a54128fSAndroid Build Coastguard Workercopyrighted by the Free Software Foundation, write to the Free 777*6a54128fSAndroid Build Coastguard WorkerSoftware Foundation; we sometimes make exceptions for this. Our 778*6a54128fSAndroid Build Coastguard Workerdecision will be guided by the two goals of preserving the free status 779*6a54128fSAndroid Build Coastguard Workerof all derivatives of our free software and of promoting the sharing 780*6a54128fSAndroid Build Coastguard Workerand reuse of software generally. 781*6a54128fSAndroid Build Coastguard Worker 782*6a54128fSAndroid Build Coastguard Worker NO WARRANTY 783*6a54128fSAndroid Build Coastguard Worker 784*6a54128fSAndroid Build Coastguard Worker 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 785*6a54128fSAndroid Build Coastguard WorkerWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 786*6a54128fSAndroid Build Coastguard WorkerEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 787*6a54128fSAndroid Build Coastguard WorkerOTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 788*6a54128fSAndroid Build Coastguard WorkerKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 789*6a54128fSAndroid Build Coastguard WorkerIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 790*6a54128fSAndroid Build Coastguard WorkerPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 791*6a54128fSAndroid Build Coastguard WorkerLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 792*6a54128fSAndroid Build Coastguard WorkerTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 793*6a54128fSAndroid Build Coastguard Worker 794*6a54128fSAndroid Build Coastguard Worker 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 795*6a54128fSAndroid Build Coastguard WorkerWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 796*6a54128fSAndroid Build Coastguard WorkerAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 797*6a54128fSAndroid Build Coastguard WorkerFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 798*6a54128fSAndroid Build Coastguard WorkerCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 799*6a54128fSAndroid Build Coastguard WorkerLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 800*6a54128fSAndroid Build Coastguard WorkerRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 801*6a54128fSAndroid Build Coastguard WorkerFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 802*6a54128fSAndroid Build Coastguard WorkerSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 803*6a54128fSAndroid Build Coastguard WorkerDAMAGES. 804*6a54128fSAndroid Build Coastguard Worker 805*6a54128fSAndroid Build Coastguard Worker END OF TERMS AND CONDITIONS 806*6a54128fSAndroid Build Coastguard Worker 807*6a54128fSAndroid Build Coastguard Worker How to Apply These Terms to Your New Libraries 808*6a54128fSAndroid Build Coastguard Worker 809*6a54128fSAndroid Build Coastguard Worker If you develop a new library, and you want it to be of the greatest 810*6a54128fSAndroid Build Coastguard Workerpossible use to the public, we recommend making it free software that 811*6a54128fSAndroid Build Coastguard Workereveryone can redistribute and change. You can do so by permitting 812*6a54128fSAndroid Build Coastguard Workerredistribution under these terms (or, alternatively, under the terms of the 813*6a54128fSAndroid Build Coastguard Workerordinary General Public License). 814*6a54128fSAndroid Build Coastguard Worker 815*6a54128fSAndroid Build Coastguard Worker To apply these terms, attach the following notices to the library. It is 816*6a54128fSAndroid Build Coastguard Workersafest to attach them to the start of each source file to most effectively 817*6a54128fSAndroid Build Coastguard Workerconvey the exclusion of warranty; and each file should have at least the 818*6a54128fSAndroid Build Coastguard Worker"copyright" line and a pointer to where the full notice is found. 819*6a54128fSAndroid Build Coastguard Worker 820*6a54128fSAndroid Build Coastguard Worker <one line to give the library's name and a brief idea of what it does.> 821*6a54128fSAndroid Build Coastguard Worker Copyright (C) <year> <name of author> 822*6a54128fSAndroid Build Coastguard Worker 823*6a54128fSAndroid Build Coastguard Worker This library is free software; you can redistribute it and/or 824*6a54128fSAndroid Build Coastguard Worker modify it under the terms of the GNU Library General Public 825*6a54128fSAndroid Build Coastguard Worker License as published by the Free Software Foundation; either 826*6a54128fSAndroid Build Coastguard Worker version 2 of the License, or (at your option) any later version. 827*6a54128fSAndroid Build Coastguard Worker 828*6a54128fSAndroid Build Coastguard Worker This library is distributed in the hope that it will be useful, 829*6a54128fSAndroid Build Coastguard Worker but WITHOUT ANY WARRANTY; without even the implied warranty of 830*6a54128fSAndroid Build Coastguard Worker MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 831*6a54128fSAndroid Build Coastguard Worker Library General Public License for more details. 832*6a54128fSAndroid Build Coastguard Worker 833*6a54128fSAndroid Build Coastguard Worker You should have received a copy of the GNU Library General Public 834*6a54128fSAndroid Build Coastguard Worker License along with this library; if not, write to the Free Software 835*6a54128fSAndroid Build Coastguard Worker Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 836*6a54128fSAndroid Build Coastguard Worker 837*6a54128fSAndroid Build Coastguard WorkerAlso add information on how to contact you by electronic and paper mail. 838*6a54128fSAndroid Build Coastguard Worker 839*6a54128fSAndroid Build Coastguard WorkerYou should also get your employer (if you work as a programmer) or your 840*6a54128fSAndroid Build Coastguard Workerschool, if any, to sign a "copyright disclaimer" for the library, if 841*6a54128fSAndroid Build Coastguard Workernecessary. Here is a sample; alter the names: 842*6a54128fSAndroid Build Coastguard Worker 843*6a54128fSAndroid Build Coastguard Worker Yoyodyne, Inc., hereby disclaims all copyright interest in the 844*6a54128fSAndroid Build Coastguard Worker library `Frob' (a library for tweaking knobs) written by James Random Hacker. 845*6a54128fSAndroid Build Coastguard Worker 846*6a54128fSAndroid Build Coastguard Worker <signature of Ty Coon>, 1 April 1990 847*6a54128fSAndroid Build Coastguard Worker Ty Coon, President of Vice 848*6a54128fSAndroid Build Coastguard Worker 849*6a54128fSAndroid Build Coastguard WorkerThat's all there is to it! 850