From: Mark Wielaard Date: Tue, 27 Feb 2024 12:36:39 +0000 (+0100) Subject: Add Unlicense to coregrind/m_debuginfo/tinfl.c X-Git-Tag: VALGRIND_3_23_0~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32fe0c07102973655a296858aa0f035db0974d54;p=thirdparty%2Fvalgrind.git Add Unlicense to coregrind/m_debuginfo/tinfl.c The tinfl.c file comes from the public domain miniz project. Upstream added an explicit Public Domain declaration using the Unlicense. No other changes were made, so all our valgrind specific changes still apply. This doesn't really change the license as used for our derived version, which is distributed under GPLv2+. But it adds some history and a legal statement that is more clear than just saying "public domain". This is the upstream commit: commit e8dfb6599a2294584571ad4806dc4e300323858c Author: Rich Geldreich Date: Sat May 28 22:15:49 2011 +0000 added unlicense.org statement --- diff --git a/coregrind/m_debuginfo/tinfl.c b/coregrind/m_debuginfo/tinfl.c index 970e0b8275..612a69f6c9 100644 --- a/coregrind/m_debuginfo/tinfl.c +++ b/coregrind/m_debuginfo/tinfl.c @@ -4,6 +4,7 @@ /* tinfl.c v1.11 - public domain inflate with zlib header parsing/adler32 checking (inflate-only subset of miniz.c) + See "unlicense" statement at the end of this file. Rich Geldreich , last updated May 20, 2011 @@ -594,3 +595,30 @@ int tinfl_decompress_mem_to_callback(const void *pIn_buf, SizeT *pIn_buf_size, t } #endif // #ifndef TINFL_HEADER_FILE_ONLY + +/* + This is free and unencumbered software released into the public domain. + + Anyone is free to copy, modify, publish, use, compile, sell, or + distribute this software, either in source code form or as a compiled + binary, for any purpose, commercial or non-commercial, and by any + means. + + In jurisdictions that recognize copyright laws, the author or authors + of this software dedicate any and all copyright interest in the + software to the public domain. We make this dedication for the benefit + of the public at large and to the detriment of our heirs and + successors. We intend this dedication to be an overt act of + relinquishment in perpetuity of all present and future rights to this + software under copyright law. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + For more information, please refer to +*/