git @ Cat's Eye Technologies stringie / 1558fab
Arrange licensing info in repo according to REUSE 3.2 convention. Chris Pressey 10 months ago
8 changed file(s) with 178 addition(s) and 25 deletion(s). Raw diff Collapse all Expand all
0 Creative Commons Legal Code
1
2 CC0 1.0 Universal
3
4 CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
5 LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
6 ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
7 INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
8 REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
9 PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
10 THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
11 HEREUNDER.
12
13 Statement of Purpose
14
15 The laws of most jurisdictions throughout the world automatically confer
16 exclusive Copyright and Related Rights (defined below) upon the creator
17 and subsequent owner(s) (each and all, an "owner") of an original work of
18 authorship and/or a database (each, a "Work").
19
20 Certain owners wish to permanently relinquish those rights to a Work for
21 the purpose of contributing to a commons of creative, cultural and
22 scientific works ("Commons") that the public can reliably and without fear
23 of later claims of infringement build upon, modify, incorporate in other
24 works, reuse and redistribute as freely as possible in any form whatsoever
25 and for any purposes, including without limitation commercial purposes.
26 These owners may contribute to the Commons to promote the ideal of a free
27 culture and the further production of creative, cultural and scientific
28 works, or to gain reputation or greater distribution for their Work in
29 part through the use and efforts of others.
30
31 For these and/or other purposes and motivations, and without any
32 expectation of additional consideration or compensation, the person
33 associating CC0 with a Work (the "Affirmer"), to the extent that he or she
34 is an owner of Copyright and Related Rights in the Work, voluntarily
35 elects to apply CC0 to the Work and publicly distribute the Work under its
36 terms, with knowledge of his or her Copyright and Related Rights in the
37 Work and the meaning and intended legal effect of CC0 on those rights.
38
39 1. Copyright and Related Rights. A Work made available under CC0 may be
40 protected by copyright and related or neighboring rights ("Copyright and
41 Related Rights"). Copyright and Related Rights include, but are not
42 limited to, the following:
43
44 i. the right to reproduce, adapt, distribute, perform, display,
45 communicate, and translate a Work;
46 ii. moral rights retained by the original author(s) and/or performer(s);
47 iii. publicity and privacy rights pertaining to a person's image or
48 likeness depicted in a Work;
49 iv. rights protecting against unfair competition in regards to a Work,
50 subject to the limitations in paragraph 4(a), below;
51 v. rights protecting the extraction, dissemination, use and reuse of data
52 in a Work;
53 vi. database rights (such as those arising under Directive 96/9/EC of the
54 European Parliament and of the Council of 11 March 1996 on the legal
55 protection of databases, and under any national implementation
56 thereof, including any amended or successor version of such
57 directive); and
58 vii. other similar, equivalent or corresponding rights throughout the
59 world based on applicable law or treaty, and any national
60 implementations thereof.
61
62 2. Waiver. To the greatest extent permitted by, but not in contravention
63 of, applicable law, Affirmer hereby overtly, fully, permanently,
64 irrevocably and unconditionally waives, abandons, and surrenders all of
65 Affirmer's Copyright and Related Rights and associated claims and causes
66 of action, whether now known or unknown (including existing as well as
67 future claims and causes of action), in the Work (i) in all territories
68 worldwide, (ii) for the maximum duration provided by applicable law or
69 treaty (including future time extensions), (iii) in any current or future
70 medium and for any number of copies, and (iv) for any purpose whatsoever,
71 including without limitation commercial, advertising or promotional
72 purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
73 member of the public at large and to the detriment of Affirmer's heirs and
74 successors, fully intending that such Waiver shall not be subject to
75 revocation, rescission, cancellation, termination, or any other legal or
76 equitable action to disrupt the quiet enjoyment of the Work by the public
77 as contemplated by Affirmer's express Statement of Purpose.
78
79 3. Public License Fallback. Should any part of the Waiver for any reason
80 be judged legally invalid or ineffective under applicable law, then the
81 Waiver shall be preserved to the maximum extent permitted taking into
82 account Affirmer's express Statement of Purpose. In addition, to the
83 extent the Waiver is so judged Affirmer hereby grants to each affected
84 person a royalty-free, non transferable, non sublicensable, non exclusive,
85 irrevocable and unconditional license to exercise Affirmer's Copyright and
86 Related Rights in the Work (i) in all territories worldwide, (ii) for the
87 maximum duration provided by applicable law or treaty (including future
88 time extensions), (iii) in any current or future medium and for any number
89 of copies, and (iv) for any purpose whatsoever, including without
90 limitation commercial, advertising or promotional purposes (the
91 "License"). The License shall be deemed effective as of the date CC0 was
92 applied by Affirmer to the Work. Should any part of the License for any
93 reason be judged legally invalid or ineffective under applicable law, such
94 partial invalidity or ineffectiveness shall not invalidate the remainder
95 of the License, and in such case Affirmer hereby affirms that he or she
96 will not (i) exercise any of his or her remaining Copyright and Related
97 Rights in the Work or (ii) assert any associated claims and causes of
98 action with respect to the Work, in either case contrary to Affirmer's
99 express Statement of Purpose.
100
101 4. Limitations and Disclaimers.
102
103 a. No trademark or patent rights held by Affirmer are waived, abandoned,
104 surrendered, licensed or otherwise affected by this document.
105 b. Affirmer offers the Work as-is and makes no representations or
106 warranties of any kind concerning the Work, express, implied,
107 statutory or otherwise, including without limitation warranties of
108 title, merchantability, fitness for a particular purpose, non
109 infringement, or the absence of latent or other defects, accuracy, or
110 the present or absence of errors, whether or not discoverable, all to
111 the greatest extent permissible under applicable law.
112 c. Affirmer disclaims responsibility for clearing rights of other persons
113 that may apply to the Work or any use thereof, including without
114 limitation any person's Copyright and Related Rights in the Work.
115 Further, Affirmer disclaims responsibility for obtaining any necessary
116 consents, permissions or other rights required for any use of the
117 Work.
118 d. Affirmer understands and acknowledges that Creative Commons is not a
119 party to this document and has no duty or obligation with respect to
120 this CC0 or use of the Work.
0 This is free and unencumbered software released into the public domain.
1
2 Anyone is free to copy, modify, publish, use, compile, sell, or
3 distribute this software, either in source code form or as a compiled
4 binary, for any purpose, commercial or non-commercial, and by any
5 means.
6
7 In jurisdictions that recognize copyright laws, the author or authors
8 of this software dedicate any and all copyright interest in the
9 software to the public domain. We make this dedication for the benefit
10 of the public at large and to the detriment of our heirs and
11 successors. We intend this dedication to be an overt act of
12 relinquishment in perpetuity of all present and future rights to this
13 software under copyright law.
14
15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18 IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
19 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21 OTHER DEALINGS IN THE SOFTWARE.
22
23 For more information, please refer to <http://unlicense.org/>
00 stringie
11 ========
2
3 <!--
4 SPDX-FileCopyrightText: This content has been made available under the CC0 public domain dedication.
5
6 SPDX-License-Identifier: CC0-1.0
7 -->
28
39 This is the distribution for "stringie", an implementation of [Underload][] in
410 ANSI C.
0 version = 1
1
2 [[annotations]]
3 path = ["REUSE.toml", ".gitignore", "build.seq", "bin/README.txt"]
4 precedence = "aggregate"
5 SPDX-FileCopyrightText = "Chris Pressey, the original author of this work, has dedicated it to the public domain."
6 SPDX-License-Identifier = "Unlicense"
7
8 [[annotations]]
9 path = ["eg/**"]
10 precedence = "aggregate"
11 SPDX-FileCopyrightText = "This content has been made available under the CC0 public domain dedication."
12 SPDX-License-Identifier = "CC0-1.0"
+0
-24
UNLICENSE less more
0 This is free and unencumbered software released into the public domain.
1
2 Anyone is free to copy, modify, publish, use, compile, sell, or
3 distribute this software, either in source code form or as a compiled
4 binary, for any purpose, commercial or non-commercial, and by any
5 means.
6
7 In jurisdictions that recognize copyright laws, the author or authors
8 of this software dedicate any and all copyright interest in the
9 software to the public domain. We make this dedication for the benefit
10 of the public at large and to the detriment of our heirs and
11 successors. We intend this dedication to be an overt act of
12 relinquishment in perpetuity of all present and future rights to this
13 software under copyright law.
14
15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18 IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
19 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21 OTHER DEALINGS IN THE SOFTWARE.
22
23 For more information, please refer to <http://unlicense.org/>
00 Underload
11 =========
2
3 <!--
4 SPDX-FileCopyrightText: This content has been made available under the CC0 public domain dedication.
5
6 SPDX-License-Identifier: CC0-1.0
7 -->
28
39 (This document was converted from the public-domain
410 [HTML Underload specification][] in [The Esoteric File Archive][].)
00 # GNU Makefile for stringie.
1
2 # SPDX-FileCopyrightText: Chris Pressey, the original author of this work, has dedicated it to the public domain.
3 # For more information, please refer to <https://unlicense.org/>
4 # SPDX-License-Identifier: Unlicense
15
26 PROG=../bin/stringie
37 CC?=gcc
33 * Chris Pressey, September 2010
44 * August 2017: bug fix to avoid memory overrun in (). Thanks to @stasoid for finding and suggesting fix.
55 * Summer 2018: own implementation of strdup to avoid warnings; ability to read from file; AUTOFLUSH; 1.0.
6 * This work is in the public domain.
6 *
7 * SPDX-FileCopyrightText: Chris Pressey, the original author of this work, has dedicated it to the public domain.
8 * For more information, please refer to <https://unlicense.org/>
9 * SPDX-License-Identifier: Unlicense
710 */
811
912 #include <stdio.h>