newfile(): expand() part filename user input..
[s-mailx.git] / COPYING
blob0e0c2743ad7ddaa5da0e113ce5512a4dd94eaafa
1 /*
2  * Copyright (c) 1980, 1993
3  *      The Regents of the University of California.  All rights reserved.
4  * Copyright (c) 1996
5  *      Christos Zoulas.  All rights reserved.
6  * Copyright (c) 2000
7  *      Gunnar Ritter. All rights reserved.
8  * Copyright (c) 2012 Steffen "Daode" Nurpmeso.  All rights reserved.
9  *
10  * Redistribution and use in source and binary forms, with or without
11  * modification, are permitted provided that the following conditions
12  * are met:
13  * 1. Redistributions of source code must retain the above copyright
14  *    notice, this list of conditions and the following disclaimer.
15  * 2. Redistributions in binary form must reproduce the above copyright
16  *    notice, this list of conditions and the following disclaimer in the
17  *    documentation and/or other materials provided with the distribution.
18  * 3. All advertising materials mentioning features or use of this software
19  *    must display the following acknowledgements:
20  *      This product includes software developed by the University of
21  *              California, Berkeley and its contributors.
22  *      This product includes software developed by Christos Zoulas.
23  *      This product includes software developed by Gunnar Ritter
24  *              and his contributors.
25  * 4. Neither the name of the University nor the names of its contributors
26  *    nor the name of Gunnar Ritter nor the names of his contributors
27  *    may be used to endorse or promote products derived from this software
28  *    without specific prior written permission.
29  *
30  * THIS SOFTWARE IS PROVIDED ``AS IS'', AND ANY EXPRESS OR IMPLIED WARRANTIES,
31  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
32  * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
33  * THE DEVELOPERS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
34  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
35  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
36  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
37  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
38  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
39  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40  */
41 ==========================================================================
44  * For base64.c:
45  *
46  * Portions Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
47  *
48  * Permission to use, copy, modify, and distribute this material 
49  * for any purpose and without fee is hereby granted, provided 
50  * that the above copyright notice and this permission notice 
51  * appear in all copies, and that the name of Bellcore not be 
52  * used in advertising or publicity pertaining to this 
53  * material without the specific, prior written permission 
54  * of an authorized representative of Bellcore.  BELLCORE 
55  * MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY 
56  * OF THIS MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS IS", 
57  * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
58  */
59 ==========================================================================
61 The Institute of Electrical and Electronics Engineers and The Open Group,
62 have given us permission to reprint portions of their documentation.
64 In the following statement, the phrase ``this text'' refers to portions
65 of the system documentation.
67 Portions of this text are reprinted and reproduced in electronic form in
68 the 'nail' mail user agent, from IEEE Std 1003.1, 2003 Edition, Standard for
69 Information Technology -- Portable Operating System Interface (POSIX),
70 The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the
71 Institute of Electrical and Electronics Engineers, Inc and The Open Group.
72 In the event of any discrepancy between these versions and the original
73 IEEE and The Open Group Standard, the original IEEE and The Open Group
74 Standard is the referee document.
76 The original Standard can be obtained online at
77 http://www.opengroup.org/unix/online.html .
79 This notice shall appear on any product containing this material.
80 ==========================================================================
83  * imap_gssapi.c is partially derived from sample code in:
84  * GSS-API Programming Guide
85  * Part No: 816-1331-11
86  * Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054 U.S.A.
87  *
88  * (c) 2002 Sun Microsystems
89  */
91  * Copyright 1994 by OpenVision Technologies, Inc.
92  * 
93  * Permission to use, copy, modify, distribute, and sell this software
94  * and its documentation for any purpose is hereby granted without fee,
95  * provided that the above copyright notice appears in all copies and
96  * that both that copyright notice and this permission notice appear in
97  * supporting documentation, and that the name of OpenVision not be used
98  * in advertising or publicity pertaining to distribution of the software
99  * without specific, written prior permission. OpenVision makes no
100  * representations about the suitability of this software for any
101  * purpose.  It is provided "as is" without express or implied warranty.
102  * 
103  * OPENVISION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
104  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
105  * EVENT SHALL OPENVISION BE LIABLE FOR ANY SPECIAL, INDIRECT OR
106  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
107  * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
108  * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
109  * PERFORMANCE OF THIS SOFTWARE.
110  */
111 ==========================================================================
113 /* md5.h and md5.c are derived from RFC 1321:
115 Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
116 rights reserved.
118 License to copy and use this software is granted provided that it
119 is identified as the "RSA Data Security, Inc. MD5 Message-Digest
120 Algorithm" in all material mentioning or referencing this software
121 or this function.
123 License is also granted to make and use derivative works provided
124 that such works are identified as "derived from the RSA Data
125 Security, Inc. MD5 Message-Digest Algorithm" in all material
126 mentioning or referencing the derived work.
128 RSA Data Security, Inc. makes no representations concerning either
129 the merchantability of this software or the suitability of this
130 software for any particular purpose. It is provided "as is"
131 without express or implied warranty of any kind.
133 These notices must be retained in any copies of any part of this
134 documentation and/or software.
135 ==========================================================================
138  * hmac.c is derived from:
140 Network Working Group                                       H. Krawczyk
141 Request for Comments: 2104                                          IBM
142 Category: Informational                                      M. Bellare
143                                                                    UCSD
144                                                              R. Canetti
145                                                                     IBM
146                                                           February 1997
149              HMAC: Keyed-Hashing for Message Authentication
151 Status of This Memo
153    This memo provides information for the Internet community.  This memo
154    does not specify an Internet standard of any kind.  Distribution of
155    this memo is unlimited.
157 Appendix -- Sample Code
158 ==========================================================================
160 Parts of nss.c are derived from the Mozilla NSS 3.9.2 source,
161 mozilla/security/nss/cmd/smimetools/cmsutil.c. Therefore:
163                           MOZILLA PUBLIC LICENSE
164                                 Version 1.1
166                               ---------------
168 1. Definitions.
170      1.0.1. "Commercial Use" means distribution or otherwise making the
171      Covered Code available to a third party.
173      1.1. "Contributor" means each entity that creates or contributes to
174      the creation of Modifications.
176      1.2. "Contributor Version" means the combination of the Original
177      Code, prior Modifications used by a Contributor, and the Modifications
178      made by that particular Contributor.
180      1.3. "Covered Code" means the Original Code or Modifications or the
181      combination of the Original Code and Modifications, in each case
182      including portions thereof.
184      1.4. "Electronic Distribution Mechanism" means a mechanism generally
185      accepted in the software development community for the electronic
186      transfer of data.
188      1.5. "Executable" means Covered Code in any form other than Source
189      Code.
191      1.6. "Initial Developer" means the individual or entity identified
192      as the Initial Developer in the Source Code notice required by Exhibit
193      A.
195      1.7. "Larger Work" means a work which combines Covered Code or
196      portions thereof with code not governed by the terms of this License.
198      1.8. "License" means this document.
200      1.8.1. "Licensable" means having the right to grant, to the maximum
201      extent possible, whether at the time of the initial grant or
202      subsequently acquired, any and all of the rights conveyed herein.
204      1.9. "Modifications" means any addition to or deletion from the
205      substance or structure of either the Original Code or any previous
206      Modifications. When Covered Code is released as a series of files, a
207      Modification is:
208           A. Any addition to or deletion from the contents of a file
209           containing Original Code or previous Modifications.
211           B. Any new file that contains any part of the Original Code or
212           previous Modifications.
214      1.10. "Original Code" means Source Code of computer software code
215      which is described in the Source Code notice required by Exhibit A as
216      Original Code, and which, at the time of its release under this
217      License is not already Covered Code governed by this License.
219      1.10.1. "Patent Claims" means any patent claim(s), now owned or
220      hereafter acquired, including without limitation,  method, process,
221      and apparatus claims, in any patent Licensable by grantor.
223      1.11. "Source Code" means the preferred form of the Covered Code for
224      making modifications to it, including all modules it contains, plus
225      any associated interface definition files, scripts used to control
226      compilation and installation of an Executable, or source code
227      differential comparisons against either the Original Code or another
228      well known, available Covered Code of the Contributor's choice. The
229      Source Code can be in a compressed or archival form, provided the
230      appropriate decompression or de-archiving software is widely available
231      for no charge.
233      1.12. "You" (or "Your")  means an individual or a legal entity
234      exercising rights under, and complying with all of the terms of, this
235      License or a future version of this License issued under Section 6.1.
236      For legal entities, "You" includes any entity which controls, is
237      controlled by, or is under common control with You. For purposes of
238      this definition, "control" means (a) the power, direct or indirect,
239      to cause the direction or management of such entity, whether by
240      contract or otherwise, or (b) ownership of more than fifty percent
241      (50%) of the outstanding shares or beneficial ownership of such
242      entity.
244 2. Source Code License.
246      2.1. The Initial Developer Grant.
247      The Initial Developer hereby grants You a world-wide, royalty-free,
248      non-exclusive license, subject to third party intellectual property
249      claims:
250           (a)  under intellectual property rights (other than patent or
251           trademark) Licensable by Initial Developer to use, reproduce,
252           modify, display, perform, sublicense and distribute the Original
253           Code (or portions thereof) with or without Modifications, and/or
254           as part of a Larger Work; and
256           (b) under Patents Claims infringed by the making, using or
257           selling of Original Code, to make, have made, use, practice,
258           sell, and offer for sale, and/or otherwise dispose of the
259           Original Code (or portions thereof).
261           (c) the licenses granted in this Section 2.1(a) and (b) are
262           effective on the date Initial Developer first distributes
263           Original Code under the terms of this License.
265           (d) Notwithstanding Section 2.1(b) above, no patent license is
266           granted: 1) for code that You delete from the Original Code; 2)
267           separate from the Original Code;  or 3) for infringements caused
268           by: i) the modification of the Original Code or ii) the
269           combination of the Original Code with other software or devices.
271      2.2. Contributor Grant.
272      Subject to third party intellectual property claims, each Contributor
273      hereby grants You a world-wide, royalty-free, non-exclusive license
275           (a)  under intellectual property rights (other than patent or
276           trademark) Licensable by Contributor, to use, reproduce, modify,
277           display, perform, sublicense and distribute the Modifications
278           created by such Contributor (or portions thereof) either on an
279           unmodified basis, with other Modifications, as Covered Code
280           and/or as part of a Larger Work; and
282           (b) under Patent Claims infringed by the making, using, or
283           selling of  Modifications made by that Contributor either alone
284           and/or in combination with its Contributor Version (or portions
285           of such combination), to make, use, sell, offer for sale, have
286           made, and/or otherwise dispose of: 1) Modifications made by that
287           Contributor (or portions thereof); and 2) the combination of
288           Modifications made by that Contributor with its Contributor
289           Version (or portions of such combination).
291           (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
292           effective on the date Contributor first makes Commercial Use of
293           the Covered Code.
295           (d)    Notwithstanding Section 2.2(b) above, no patent license is
296           granted: 1) for any code that Contributor has deleted from the
297           Contributor Version; 2)  separate from the Contributor Version;
298           3)  for infringements caused by: i) third party modifications of
299           Contributor Version or ii)  the combination of Modifications made
300           by that Contributor with other software  (except as part of the
301           Contributor Version) or other devices; or 4) under Patent Claims
302           infringed by Covered Code in the absence of Modifications made by
303           that Contributor.
305 3. Distribution Obligations.
307      3.1. Application of License.
308      The Modifications which You create or to which You contribute are
309      governed by the terms of this License, including without limitation
310      Section 2.2. The Source Code version of Covered Code may be
311      distributed only under the terms of this License or a future version
312      of this License released under Section 6.1, and You must include a
313      copy of this License with every copy of the Source Code You
314      distribute. You may not offer or impose any terms on any Source Code
315      version that alters or restricts the applicable version of this
316      License or the recipients' rights hereunder. However, You may include
317      an additional document offering the additional rights described in
318      Section 3.5.
320      3.2. Availability of Source Code.
321      Any Modification which You create or to which You contribute must be
322      made available in Source Code form under the terms of this License
323      either on the same media as an Executable version or via an accepted
324      Electronic Distribution Mechanism to anyone to whom you made an
325      Executable version available; and if made available via Electronic
326      Distribution Mechanism, must remain available for at least twelve (12)
327      months after the date it initially became available, or at least six
328      (6) months after a subsequent version of that particular Modification
329      has been made available to such recipients. You are responsible for
330      ensuring that the Source Code version remains available even if the
331      Electronic Distribution Mechanism is maintained by a third party.
333      3.3. Description of Modifications.
334      You must cause all Covered Code to which You contribute to contain a
335      file documenting the changes You made to create that Covered Code and
336      the date of any change. You must include a prominent statement that
337      the Modification is derived, directly or indirectly, from Original
338      Code provided by the Initial Developer and including the name of the
339      Initial Developer in (a) the Source Code, and (b) in any notice in an
340      Executable version or related documentation in which You describe the
341      origin or ownership of the Covered Code.
343      3.4. Intellectual Property Matters
344           (a) Third Party Claims.
345           If Contributor has knowledge that a license under a third party's
346           intellectual property rights is required to exercise the rights
347           granted by such Contributor under Sections 2.1 or 2.2,
348           Contributor must include a text file with the Source Code
349           distribution titled "LEGAL" which describes the claim and the
350           party making the claim in sufficient detail that a recipient will
351           know whom to contact. If Contributor obtains such knowledge after
352           the Modification is made available as described in Section 3.2,
353           Contributor shall promptly modify the LEGAL file in all copies
354           Contributor makes available thereafter and shall take other steps
355           (such as notifying appropriate mailing lists or newsgroups)
356           reasonably calculated to inform those who received the Covered
357           Code that new knowledge has been obtained.
359           (b) Contributor APIs.
360           If Contributor's Modifications include an application programming
361           interface and Contributor has knowledge of patent licenses which
362           are reasonably necessary to implement that API, Contributor must
363           also include this information in the LEGAL file.
365                (c)    Representations.
366           Contributor represents that, except as disclosed pursuant to
367           Section 3.4(a) above, Contributor believes that Contributor's
368           Modifications are Contributor's original creation(s) and/or
369           Contributor has sufficient rights to grant the rights conveyed by
370           this License.
372      3.5. Required Notices.
373      You must duplicate the notice in Exhibit A in each file of the Source
374      Code.  If it is not possible to put such notice in a particular Source
375      Code file due to its structure, then You must include such notice in a
376      location (such as a relevant directory) where a user would be likely
377      to look for such a notice.  If You created one or more Modification(s)
378      You may add your name as a Contributor to the notice described in
379      Exhibit A.  You must also duplicate this License in any documentation
380      for the Source Code where You describe recipients' rights or ownership
381      rights relating to Covered Code.  You may choose to offer, and to
382      charge a fee for, warranty, support, indemnity or liability
383      obligations to one or more recipients of Covered Code. However, You
384      may do so only on Your own behalf, and not on behalf of the Initial
385      Developer or any Contributor. You must make it absolutely clear than
386      any such warranty, support, indemnity or liability obligation is
387      offered by You alone, and You hereby agree to indemnify the Initial
388      Developer and every Contributor for any liability incurred by the
389      Initial Developer or such Contributor as a result of warranty,
390      support, indemnity or liability terms You offer.
392      3.6. Distribution of Executable Versions.
393      You may distribute Covered Code in Executable form only if the
394      requirements of Section 3.1-3.5 have been met for that Covered Code,
395      and if You include a notice stating that the Source Code version of
396      the Covered Code is available under the terms of this License,
397      including a description of how and where You have fulfilled the
398      obligations of Section 3.2. The notice must be conspicuously included
399      in any notice in an Executable version, related documentation or
400      collateral in which You describe recipients' rights relating to the
401      Covered Code. You may distribute the Executable version of Covered
402      Code or ownership rights under a license of Your choice, which may
403      contain terms different from this License, provided that You are in
404      compliance with the terms of this License and that the license for the
405      Executable version does not attempt to limit or alter the recipient's
406      rights in the Source Code version from the rights set forth in this
407      License. If You distribute the Executable version under a different
408      license You must make it absolutely clear that any terms which differ
409      from this License are offered by You alone, not by the Initial
410      Developer or any Contributor. You hereby agree to indemnify the
411      Initial Developer and every Contributor for any liability incurred by
412      the Initial Developer or such Contributor as a result of any such
413      terms You offer.
415      3.7. Larger Works.
416      You may create a Larger Work by combining Covered Code with other code
417      not governed by the terms of this License and distribute the Larger
418      Work as a single product. In such a case, You must make sure the
419      requirements of this License are fulfilled for the Covered Code.
421 4. Inability to Comply Due to Statute or Regulation.
423      If it is impossible for You to comply with any of the terms of this
424      License with respect to some or all of the Covered Code due to
425      statute, judicial order, or regulation then You must: (a) comply with
426      the terms of this License to the maximum extent possible; and (b)
427      describe the limitations and the code they affect. Such description
428      must be included in the LEGAL file described in Section 3.4 and must
429      be included with all distributions of the Source Code. Except to the
430      extent prohibited by statute or regulation, such description must be
431      sufficiently detailed for a recipient of ordinary skill to be able to
432      understand it.
434 5. Application of this License.
436      This License applies to code to which the Initial Developer has
437      attached the notice in Exhibit A and to related Covered Code.
439 6. Versions of the License.
441      6.1. New Versions.
442      Netscape Communications Corporation ("Netscape") may publish revised
443      and/or new versions of the License from time to time. Each version
444      will be given a distinguishing version number.
446      6.2. Effect of New Versions.
447      Once Covered Code has been published under a particular version of the
448      License, You may always continue to use it under the terms of that
449      version. You may also choose to use such Covered Code under the terms
450      of any subsequent version of the License published by Netscape. No one
451      other than Netscape has the right to modify the terms applicable to
452      Covered Code created under this License.
454      6.3. Derivative Works.
455      If You create or use a modified version of this License (which you may
456      only do in order to apply it to code which is not already Covered Code
457      governed by this License), You must (a) rename Your license so that
458      the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
459      "MPL", "NPL" or any confusingly similar phrase do not appear in your
460      license (except to note that your license differs from this License)
461      and (b) otherwise make it clear that Your version of the license
462      contains terms which differ from the Mozilla Public License and
463      Netscape Public License. (Filling in the name of the Initial
464      Developer, Original Code or Contributor in the notice described in
465      Exhibit A shall not of themselves be deemed to be modifications of
466      this License.)
468 7. DISCLAIMER OF WARRANTY.
470      COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
471      WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
472      WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
473      DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
474      THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
475      IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
476      YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
477      COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
478      OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
479      ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
481 8. TERMINATION.
483      8.1.  This License and the rights granted hereunder will terminate
484      automatically if You fail to comply with terms herein and fail to cure
485      such breach within 30 days of becoming aware of the breach. All
486      sublicenses to the Covered Code which are properly granted shall
487      survive any termination of this License. Provisions which, by their
488      nature, must remain in effect beyond the termination of this License
489      shall survive.
491      8.2.  If You initiate litigation by asserting a patent infringement
492      claim (excluding declatory judgment actions) against Initial Developer
493      or a Contributor (the Initial Developer or Contributor against whom
494      You file such action is referred to as "Participant")  alleging that:
496      (a)  such Participant's Contributor Version directly or indirectly
497      infringes any patent, then any and all rights granted by such
498      Participant to You under Sections 2.1 and/or 2.2 of this License
499      shall, upon 60 days notice from Participant terminate prospectively,
500      unless if within 60 days after receipt of notice You either: (i)
501      agree in writing to pay Participant a mutually agreeable reasonable
502      royalty for Your past and future use of Modifications made by such
503      Participant, or (ii) withdraw Your litigation claim with respect to
504      the Contributor Version against such Participant.  If within 60 days
505      of notice, a reasonable royalty and payment arrangement are not
506      mutually agreed upon in writing by the parties or the litigation claim
507      is not withdrawn, the rights granted by Participant to You under
508      Sections 2.1 and/or 2.2 automatically terminate at the expiration of
509      the 60 day notice period specified above.
511      (b)  any software, hardware, or device, other than such Participant's
512      Contributor Version, directly or indirectly infringes any patent, then
513      any rights granted to You by such Participant under Sections 2.1(b)
514      and 2.2(b) are revoked effective as of the date You first made, used,
515      sold, distributed, or had made, Modifications made by that
516      Participant.
518      8.3.  If You assert a patent infringement claim against Participant
519      alleging that such Participant's Contributor Version directly or
520      indirectly infringes any patent where such claim is resolved (such as
521      by license or settlement) prior to the initiation of patent
522      infringement litigation, then the reasonable value of the licenses
523      granted by such Participant under Sections 2.1 or 2.2 shall be taken
524      into account in determining the amount or value of any payment or
525      license.
527      8.4.  In the event of termination under Sections 8.1 or 8.2 above,
528      all end user license agreements (excluding distributors and resellers)
529      which have been validly granted by You or any distributor hereunder
530      prior to termination shall survive termination.
532 9. LIMITATION OF LIABILITY.
534      UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
535      (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
536      DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
537      OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
538      ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
539      CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
540      WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
541      COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
542      INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
543      LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
544      RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
545      PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
546      EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
547      THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
549 10. U.S. GOVERNMENT END USERS.
551      The Covered Code is a "commercial item," as that term is defined in
552      48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
553      software" and "commercial computer software documentation," as such
554      terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
555      C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
556      all U.S. Government End Users acquire Covered Code with only those
557      rights set forth herein.
559 11. MISCELLANEOUS.
561      This License represents the complete agreement concerning subject
562      matter hereof. If any provision of this License is held to be
563      unenforceable, such provision shall be reformed only to the extent
564      necessary to make it enforceable. This License shall be governed by
565      California law provisions (except to the extent applicable law, if
566      any, provides otherwise), excluding its conflict-of-law provisions.
567      With respect to disputes in which at least one party is a citizen of,
568      or an entity chartered or registered to do business in the United
569      States of America, any litigation relating to this License shall be
570      subject to the jurisdiction of the Federal Courts of the Northern
571      District of California, with venue lying in Santa Clara County,
572      California, with the losing party responsible for costs, including
573      without limitation, court costs and reasonable attorneys' fees and
574      expenses. The application of the United Nations Convention on
575      Contracts for the International Sale of Goods is expressly excluded.
576      Any law or regulation which provides that the language of a contract
577      shall be construed against the drafter shall not apply to this
578      License.
580 12. RESPONSIBILITY FOR CLAIMS.
582      As between Initial Developer and the Contributors, each party is
583      responsible for claims and damages arising, directly or indirectly,
584      out of its utilization of rights under this License and You agree to
585      work with Initial Developer and Contributors to distribute such
586      responsibility on an equitable basis. Nothing herein is intended or
587      shall be deemed to constitute any admission of liability.
589 13. MULTIPLE-LICENSED CODE.
591      Initial Developer may designate portions of the Covered Code as
592      "Multiple-Licensed".  "Multiple-Licensed" means that the Initial
593      Developer permits you to utilize portions of the Covered Code under
594      Your choice of the NPL or the alternative licenses, if any, specified
595      by the Initial Developer in the file described in Exhibit A.
597 EXHIBIT A -Mozilla Public License.
599      ``The contents of this file are subject to the Mozilla Public License
600      Version 1.1 (the "License"); you may not use this file except in
601      compliance with the License. You may obtain a copy of the License at
602      http://www.mozilla.org/MPL/
604      Software distributed under the License is distributed on an "AS IS"
605      basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
606      License for the specific language governing rights and limitations
607      under the License.
609      The Original Code is ______________________________________.
611      The Initial Developer of the Original Code is ________________________.
612      Portions created by ______________________ are Copyright (C) ______
613      _______________________. All Rights Reserved.
615      Contributor(s): ______________________________________.
617      Alternatively, the contents of this file may be used under the terms
618      of the _____ license (the  "[___] License"), in which case the
619      provisions of [______] License are applicable instead of those
620      above.  If you wish to allow use of your version of this file only
621      under the terms of the [____] License and not to allow others to use
622      your version of this file under the MPL, indicate your decision by
623      deleting  the provisions above and replace  them with the notice and
624      other provisions required by the [___] License.  If you do not delete
625      the provisions above, a recipient may use your version of this file
626      under either the MPL or the [___] License."
628      [NOTE: The text of this Exhibit A may differ slightly from the text of
629      the notices in the Source Code files of the Original Code. You should
630      use the text of this Exhibit A rather than the text found in the
631      Original Code Source Code for Your Modifications.]