# HG changeset patch # User Lasse Collin <lasse.collin@tukaani.org> # Date 1239611260 -10800 # Mon Apr 13 11:27:40 2009 +0300 # Node ID 85478266d780275a2c285942fc55157f56f6652a # Parent b4cf02898f99b2446a8753f0ab99e1912521e9d2 Put the interesting parts of XZ Utils into the public domain. Some minor documentation cleanups were made at the same time. diff --git a/COPYING b/COPYING --- a/COPYING +++ b/COPYING @@ -1,25 +1,60 @@ -LZMA Utils Licenses -------------------- +XZ Utils Licensing +================== Different licenses apply to different files in this package. Here - is a rough summary of which license apply to which parts of this + is a rough summary of which licenses apply to which parts of this package (but check the individual files to be sure!): - - Everything under src/liblzma/check and tests/files is public - domain. - - Everything else under the src directory is under the GNU LGPL - 2.1 or (at your opinion) any later version. - - Outside the src directory, there are some files that are under - the GNU GPL 2 or (at your opinion) any later version, or under - the GNU GPL 3 or (at your opinion) any later version. - - Most documentation files are under an all-permissive license. + + - liblzma is in the public domain. + + - xz, xzdec, and lzmadec command line tools are in the public + domain unless GNU getopt_long had to be compiled and linked + in from the lib directory. The getopt_long code is under + GNU LGPLv2.1+. + + - The scripts to grep, diff, and view compressed files have been + adapted from gzip. These scripts and their documentation are + under GNU GPLv2+. + + - All the documentation in the doc directory and most of the + XZ Utils specific documentation files in other directories + are in the public domain. + + - Translated messages are in the public domain. - The following license texts are included in the following files - in this package: + - The build system contains public domain files, and files that + are under GNU GPLv2+ or GNU GPLv3+. None of these files end up + in the binaries being built. + + - Test files and test code in the tests directory, and debugging + utilities in the debug directory are in the public domain. + + - The extra directory may contain public domain files, and files + that are under various free software licenses. + + You can do whatever you want with the files that have been put into + the public domain. If you find public domain legally problematic, + take the previous sentence as a license grant. If you still find + the lack of copyright legally problematic, you have too many + lawyers. + + If you copy significant amounts of public domain code from XZ Utils + into your project, acknowledging this somewhere in your software is + polite, but naturally it is not legally required. + + As usual, this software is provided "as is", without any warranty. + + The following license texts are included in the following files: - COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1 - COPYING.GPLv2: GNU General Public License version 2 - COPYING.GPLv3: GNU General Public License version 3 - If you have questions, don't hesitate to ask the copyright holder(s) - for more information. + Note that the toolchain (compiler, linker etc.) may add some code + pieces that are copyrighted. Thus, it is possible that e.g. liblzma + binary wouldn't actually be in the public domain in its entirety + even though it contains no copyrighted code from this package. + If you have questions, don't hesitate to ask the author(s) for more + information. + diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,2 +1,2 @@ See the commit log in the git repository: -git://ctrl.tukaani.org/lzma-utils.git +git://ctrl.tukaani.org/xz.git diff --git a/Doxyfile.in b/Doxyfile.in --- a/Doxyfile.in +++ b/Doxyfile.in @@ -955,13 +955,13 @@ # compilation will be performed. Macro expansion can be done in a controlled # way by setting EXPAND_ONLY_PREDEF to YES. -MACRO_EXPANSION = NO +MACRO_EXPANSION = YES # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES # then the macro expansion is limited to the macros specified with the # PREDEFINED and EXPAND_AS_DEFINED tags. -EXPAND_ONLY_PREDEF = NO +EXPAND_ONLY_PREDEF = YES # If the SEARCH_INCLUDES tag is set to YES (the default) the includes files # in the INCLUDE_PATH (see below) will be search if a #include is found. @@ -989,7 +989,9 @@ # undefined via #undef or recursively expanded use the := operator # instead of the = operator. -PREDEFINED = +PREDEFINED = LZMA_API(type)=type \ + LZMA_API_IMPORT \ + LZMA_API_CALL= # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then # this tag can be used to specify a list of macro names that should be expanded. diff --git a/Makefile.am b/Makefile.am --- a/Makefile.am +++ b/Makefile.am @@ -1,15 +1,8 @@ ## -## Copyright (C) 2007 Lasse Collin +## Author: Lasse Collin ## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. +## This file has been put into the public domain. +## You can do whatever you want with this file. ## DIST_SUBDIRS = lib src po tests debug diff --git a/autogen.sh b/autogen.sh --- a/autogen.sh +++ b/autogen.sh @@ -1,5 +1,14 @@ #!/bin/sh +############################################################################### +# +# Author: Lasse Collin +# +# This file has been put into the public domain. +# You can do whatever you want with this file. +# +############################################################################### + set -e -x autopoint -f diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac @@ -3,17 +3,10 @@ ############################################################################### # -# Copyright (C) 2007 Lasse Collin +# Author: Lasse Collin # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. +# This file has been put into the public domain. +# You can do whatever you want with this file. # ############################################################################### diff --git a/debug/Makefile.am b/debug/Makefile.am --- a/debug/Makefile.am +++ b/debug/Makefile.am @@ -1,15 +1,8 @@ ## -## Copyright (C) 2008 Lasse Collin +## Author: Lasse Collin ## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. +## This file has been put into the public domain. +## You can do whatever you want with this file. ## noinst_PROGRAMS = \ diff --git a/debug/crc32.c b/debug/crc32.c --- a/debug/crc32.c +++ b/debug/crc32.c @@ -3,17 +3,10 @@ /// \file crc32.c /// \brief Primitive CRC32 calculation tool // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/debug/full_flush.c b/debug/full_flush.c --- a/debug/full_flush.c +++ b/debug/full_flush.c @@ -3,17 +3,10 @@ /// \file full_flush.c /// \brief Encode files using LZMA_FULL_FLUSH // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/debug/hex2bin.c b/debug/hex2bin.c --- a/debug/hex2bin.c +++ b/debug/hex2bin.c @@ -3,11 +3,10 @@ /// \file hex2bin.c /// \brief Converts hexadecimal input strings to binary // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/debug/known_sizes.c b/debug/known_sizes.c --- a/debug/known_sizes.c +++ b/debug/known_sizes.c @@ -7,17 +7,10 @@ /// and/or Uncompressed Size values are stored in the Block Header. /// As of writing there's no such Stream encoder in liblzma. // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/debug/memusage.c b/debug/memusage.c --- a/debug/memusage.c +++ b/debug/memusage.c @@ -2,18 +2,11 @@ // /// \file memusage.c /// \brief Calculates memory usage using lzma_memory_usage() -/// -// Copyright (C) 2008 Lasse Collin +// +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/debug/repeat.c b/debug/repeat.c --- a/debug/repeat.c +++ b/debug/repeat.c @@ -7,17 +7,10 @@ /// the Subblock filter, especially the condition when repeat count /// doesn't fit into 28-bit integer. // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/debug/sync_flush.c b/debug/sync_flush.c --- a/debug/sync_flush.c +++ b/debug/sync_flush.c @@ -3,17 +3,10 @@ /// \file sync_flush.c /// \brief Encode files using LZMA_SYNC_FLUSH // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/doc/faq.txt b/doc/faq.txt --- a/doc/faq.txt +++ b/doc/faq.txt @@ -1,13 +1,6 @@ -LZMA Utils FAQ --------------- - - Copyright (C) 2007 Lasse Collin - - Copying and distribution of this file, with or without modification, - are permitted in any medium without royalty provided the copyright - notice and this notice are preserved. - +XZ Utils FAQ +============ Q: What are LZMA, LZMA Utils, lzma, .lzma, liblzma, LZMA SDK, LZMA_Alone, 7-Zip and p7zip? @@ -198,32 +191,7 @@ Q: Can I use LZMA in proprietary, non-free applications? -A: liblzma is under the GNU LGPL version 2.1 or (at your opinion) any - later version. To summarise (*NOTE* This summary is not legally - binding, that is, it doesn't give you any extra permissions compared - to the LGPL. Read the GNU LGPL carefully for the exact license - conditions.): - * All the changes made into the library itself must be published - under the same license. - * End users must be able to replace the used liblzma. Easiest way - to assure this is to link dynamically against liblzma so users - can replace the shared library file if they want. - * You must make it clear to your users, that your application uses - liblzma, and that liblzma is free software under the GNU LGPL. - A copy of GNU LGPL must be included. - - LZMA SDK contains a special exception which allows linking *unmodified* - code statically with a non-free application. This exception does *not* - apply to liblzma. - - As an alternative, you can support the development of LZMA and 7-Zip - by buying a proprietary license from Igor Pavlov. See homepage of - LZMA SDK <http://7-zip.org/sdk.html> for more information. Note that - having a proprietary license from Igor Pavlov doesn't allow you to use - liblzma in a way that contradicts with the GNU LGPL, because liblzma - contains code that is not copyrighted by Igor Pavlov. Please contact - both Lasse Collin and Igor Pavlov if the license conditions of liblzma - are not suitable for you. +A: Yes. See the file COPYING for details. Q: I would like to help. What can I do? diff --git a/lib/Makefile.am b/lib/Makefile.am --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1,15 +1,15 @@ ## -## Copyright (C) 2004-2007 Free Software Foundation, Inc. +## Copyright (C) 2004-2007 Free Software Foundation, Inc. ## -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2 of the License, or -## (at your option) any later version. +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License, or +## (at your option) any later version. ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. ## ## Not using gnulib-tool, at least for now. It is likely that we won't diff --git a/src/Makefile.am b/src/Makefile.am --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,15 +1,8 @@ ## -## Copyright (C) 2007 Lasse Collin +## Author: Lasse Collin ## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. +## This file has been put into the public domain. +## You can do whatever you want with this file. ## SUBDIRS = liblzma xz xzdec scripts diff --git a/src/common/bswap.h b/src/common/bswap.h --- a/src/common/bswap.h +++ b/src/common/bswap.h @@ -3,11 +3,10 @@ /// \file bswap.h /// \brief Byte swapping // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/common/cpucores.h b/src/common/cpucores.h --- a/src/common/cpucores.h +++ b/src/common/cpucores.h @@ -3,11 +3,10 @@ /// \file cpucores.h /// \brief Get the number of online CPU cores // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/common/integer.h b/src/common/integer.h --- a/src/common/integer.h +++ b/src/common/integer.h @@ -3,11 +3,10 @@ /// \file integer.h /// \brief Reading and writing integers from and to buffers // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/common/mythread.h b/src/common/mythread.h --- a/src/common/mythread.h +++ b/src/common/mythread.h @@ -3,8 +3,10 @@ /// \file mythread.h /// \brief Wrappers for threads // -// Author: Lasse Collin +// Author: Lasse Collin +// // This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/common/open_stdxxx.h b/src/common/open_stdxxx.h --- a/src/common/open_stdxxx.h +++ b/src/common/open_stdxxx.h @@ -3,11 +3,10 @@ /// \file open_stdxxx.h /// \brief Make sure that file descriptors 0, 1, and 2 are open // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/common/physmem.h b/src/common/physmem.h --- a/src/common/physmem.h +++ b/src/common/physmem.h @@ -3,11 +3,10 @@ /// \file physmem.h /// \brief Get the amount of physical memory // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/common/sysdefs.h b/src/common/sysdefs.h --- a/src/common/sysdefs.h +++ b/src/common/sysdefs.h @@ -6,17 +6,10 @@ /// This file is used also by the lzma command line tool, that's why this /// file is separate from common.h. // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/Makefile.am b/src/liblzma/Makefile.am --- a/src/liblzma/Makefile.am +++ b/src/liblzma/Makefile.am @@ -1,15 +1,8 @@ ## -## Copyright (C) 2007 Lasse Collin +## Author: Lasse Collin ## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. +## This file has been put into the public domain. +## You can do whatever you want with this file. ## SUBDIRS = api common check diff --git a/src/liblzma/api/Makefile.am b/src/liblzma/api/Makefile.am --- a/src/liblzma/api/Makefile.am +++ b/src/liblzma/api/Makefile.am @@ -1,15 +1,8 @@ ## -## Copyright (C) 2007 Lasse Collin +## Author: Lasse Collin ## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. +## This file has been put into the public domain. +## You can do whatever you want with this file. ## nobase_include_HEADERS = \ diff --git a/src/liblzma/api/lzma.h b/src/liblzma/api/lzma.h --- a/src/liblzma/api/lzma.h +++ b/src/liblzma/api/lzma.h @@ -1,22 +1,30 @@ /** - * \file lzma.h - * \brief The public API of liblzma + * \file api/lzma.h + * \brief The public API of liblzma data compression library * - * liblzma is a LZMA compression library with a zlib-like API. - * liblzma is based on LZMA SDK found from http://7-zip.org/sdk.html. + * liblzma is a public domain general-purpose data compression library with + * a zlib-like API. The native file format is .xz, but also the old .lzma + * format and raw (no headers) streams are supported. Multiple compression + * algorithms (filters) are supported. Currently LZMA2 is the primary filter. * - * \author Copyright (C) 1999-2006 Igor Pavlov - * \author Copyright (C) 2007 Lasse Collin + * liblzma is part of XZ Utils <http://tukaani.org/xz/>. XZ Utils includes + * a gzip-like command line tool named xz and some other tools. XZ Utils + * is developed and maintained by Lasse Collin. * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * Major parts of liblzma are based on Igor Pavlov's public domain LZMA SDK + * <http://7-zip.org/sdk.html>. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * The SHA-256 implementation is based on the public domain code found from + * 7-Zip <http://7-zip.org/>, which has a modified version of the public + * domain SHA-256 code found from Crypto++ <http://www.cryptopp.com/>. + * The SHA-256 code in Crypto++ was written by Kevin Springle and Wei Dai. + */ + +/* + * Author: Lasse Collin + * + * This file has been put into the public domain. + * You can do whatever you want with this file. */ #ifndef LZMA_H @@ -26,7 +34,7 @@ * Required standard headers * *****************************/ -/** +/* * liblzma API headers need some standard types and macros. To allow * including lzma.h without requiring the application to include other * headers first, lzma.h includes the required standard headers unless diff --git a/src/liblzma/api/lzma/base.h b/src/liblzma/api/lzma/base.h --- a/src/liblzma/api/lzma/base.h +++ b/src/liblzma/api/lzma/base.h @@ -1,19 +1,15 @@ /** * \file lzma/base.h - * \brief Data types and functions used in many places of the public API - * - * \author Copyright (C) 1999-2006 Igor Pavlov - * \author Copyright (C) 2007 Lasse Collin + * \brief Data types and functions used in many places in liblzma API + */ + +/* + * Author: Lasse Collin * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * This file has been put into the public domain. + * You can do whatever you want with this file. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * See ../lzma.h for information about liblzma as a whole. */ #ifndef LZMA_H_INTERNAL diff --git a/src/liblzma/api/lzma/bcj.h b/src/liblzma/api/lzma/bcj.h --- a/src/liblzma/api/lzma/bcj.h +++ b/src/liblzma/api/lzma/bcj.h @@ -1,19 +1,15 @@ /** * \file lzma/bcj.h * \brief Branch/Call/Jump conversion filters - * - * \author Copyright (C) 1999-2006 Igor Pavlov - * \author Copyright (C) 2007 Lasse Collin + */ + +/* + * Author: Lasse Collin * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * This file has been put into the public domain. + * You can do whatever you want with this file. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * See ../lzma.h for information about liblzma as a whole. */ #ifndef LZMA_H_INTERNAL diff --git a/src/liblzma/api/lzma/block.h b/src/liblzma/api/lzma/block.h --- a/src/liblzma/api/lzma/block.h +++ b/src/liblzma/api/lzma/block.h @@ -1,19 +1,15 @@ /** * \file lzma/block.h * \brief .xz Block handling - * - * \author Copyright (C) 1999-2006 Igor Pavlov - * \author Copyright (C) 2007 Lasse Collin + */ + +/* + * Author: Lasse Collin * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * This file has been put into the public domain. + * You can do whatever you want with this file. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * See ../lzma.h for information about liblzma as a whole. */ #ifndef LZMA_H_INTERNAL diff --git a/src/liblzma/api/lzma/check.h b/src/liblzma/api/lzma/check.h --- a/src/liblzma/api/lzma/check.h +++ b/src/liblzma/api/lzma/check.h @@ -1,19 +1,15 @@ /** * \file lzma/check.h * \brief Integrity checks - * - * \author Copyright (C) 1999-2006 Igor Pavlov - * \author Copyright (C) 2007 Lasse Collin + */ + +/* + * Author: Lasse Collin * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * This file has been put into the public domain. + * You can do whatever you want with this file. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * See ../lzma.h for information about liblzma as a whole. */ #ifndef LZMA_H_INTERNAL diff --git a/src/liblzma/api/lzma/container.h b/src/liblzma/api/lzma/container.h --- a/src/liblzma/api/lzma/container.h +++ b/src/liblzma/api/lzma/container.h @@ -1,19 +1,15 @@ /** * \file lzma/container.h * \brief File formats - * - * \author Copyright (C) 1999-2008 Igor Pavlov - * \author Copyright (C) 2007-2008 Lasse Collin + */ + +/* + * Author: Lasse Collin * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * This file has been put into the public domain. + * You can do whatever you want with this file. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * See ../lzma.h for information about liblzma as a whole. */ #ifndef LZMA_H_INTERNAL diff --git a/src/liblzma/api/lzma/delta.h b/src/liblzma/api/lzma/delta.h --- a/src/liblzma/api/lzma/delta.h +++ b/src/liblzma/api/lzma/delta.h @@ -1,19 +1,15 @@ /** * \file lzma/delta.h * \brief Delta filter - * - * \author Copyright (C) 1999-2006 Igor Pavlov - * \author Copyright (C) 2007 Lasse Collin + */ + +/* + * Author: Lasse Collin * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * This file has been put into the public domain. + * You can do whatever you want with this file. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * See ../lzma.h for information about liblzma as a whole. */ #ifndef LZMA_H_INTERNAL diff --git a/src/liblzma/api/lzma/filter.h b/src/liblzma/api/lzma/filter.h --- a/src/liblzma/api/lzma/filter.h +++ b/src/liblzma/api/lzma/filter.h @@ -1,19 +1,15 @@ /** * \file lzma/filter.h * \brief Common filter related types - * - * \author Copyright (C) 1999-2006 Igor Pavlov - * \author Copyright (C) 2007 Lasse Collin + */ + +/* + * Author: Lasse Collin * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * This file has been put into the public domain. + * You can do whatever you want with this file. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * See ../lzma.h for information about liblzma as a whole. */ #ifndef LZMA_H_INTERNAL diff --git a/src/liblzma/api/lzma/index.h b/src/liblzma/api/lzma/index.h --- a/src/liblzma/api/lzma/index.h +++ b/src/liblzma/api/lzma/index.h @@ -1,19 +1,15 @@ /** * \file lzma/index.h * \brief Handling of .xz Index lists - * - * \author Copyright (C) 1999-2006 Igor Pavlov - * \author Copyright (C) 2007 Lasse Collin + */ + +/* + * Author: Lasse Collin * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * This file has been put into the public domain. + * You can do whatever you want with this file. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * See ../lzma.h for information about liblzma as a whole. */ #ifndef LZMA_H_INTERNAL diff --git a/src/liblzma/api/lzma/index_hash.h b/src/liblzma/api/lzma/index_hash.h --- a/src/liblzma/api/lzma/index_hash.h +++ b/src/liblzma/api/lzma/index_hash.h @@ -1,23 +1,15 @@ /** * \file lzma/index_hash.h * \brief Validates Index by using a hash function - * - * Instead of constructing complete Index while decoding Blocks, Index hash - * calculates a hash of the Block sizes and Index, and then compares the - * hashes. This way memory usage is constant even with large number of - * Blocks and huge Index. - * - * \author Copyright (C) 2008 Lasse Collin + */ + +/* + * Author: Lasse Collin * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * This file has been put into the public domain. + * You can do whatever you want with this file. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * See ../lzma.h for information about liblzma as a whole. */ #ifndef LZMA_H_INTERNAL diff --git a/src/liblzma/api/lzma/lzma.h b/src/liblzma/api/lzma/lzma.h --- a/src/liblzma/api/lzma/lzma.h +++ b/src/liblzma/api/lzma/lzma.h @@ -1,19 +1,15 @@ /** * \file lzma/lzma.h * \brief LZMA1 and LZMA2 filters - * - * \author Copyright (C) 1999-2006 Igor Pavlov - * \author Copyright (C) 2007 Lasse Collin + */ + +/* + * Author: Lasse Collin * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * This file has been put into the public domain. + * You can do whatever you want with this file. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * See ../lzma.h for information about liblzma as a whole. */ #ifndef LZMA_H_INTERNAL diff --git a/src/liblzma/api/lzma/stream_flags.h b/src/liblzma/api/lzma/stream_flags.h --- a/src/liblzma/api/lzma/stream_flags.h +++ b/src/liblzma/api/lzma/stream_flags.h @@ -1,19 +1,15 @@ /** * \file lzma/stream_flags.h * \brief .xz Stream Header and Stream Footer encoder and decoder - * - * \author Copyright (C) 1999-2006 Igor Pavlov - * \author Copyright (C) 2007 Lasse Collin + */ + +/* + * Author: Lasse Collin * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * This file has been put into the public domain. + * You can do whatever you want with this file. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * See ../lzma.h for information about liblzma as a whole. */ #ifndef LZMA_H_INTERNAL diff --git a/src/liblzma/api/lzma/subblock.h b/src/liblzma/api/lzma/subblock.h --- a/src/liblzma/api/lzma/subblock.h +++ b/src/liblzma/api/lzma/subblock.h @@ -1,19 +1,15 @@ /** * \file lzma/subblock.h * \brief Subblock filter - * - * \author Copyright (C) 1999-2006 Igor Pavlov - * \author Copyright (C) 2007 Lasse Collin + */ + +/* + * Author: Lasse Collin * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * This file has been put into the public domain. + * You can do whatever you want with this file. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * See ../lzma.h for information about liblzma as a whole. */ #ifndef LZMA_H_INTERNAL diff --git a/src/liblzma/api/lzma/version.h b/src/liblzma/api/lzma/version.h --- a/src/liblzma/api/lzma/version.h +++ b/src/liblzma/api/lzma/version.h @@ -1,19 +1,15 @@ /** * \file lzma/version.h * \brief Version number - * - * \author Copyright (C) 1999-2006 Igor Pavlov - * \author Copyright (C) 2007 Lasse Collin + */ + +/* + * Author: Lasse Collin * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * This file has been put into the public domain. + * You can do whatever you want with this file. * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * See ../lzma.h for information about liblzma as a whole. */ #ifndef LZMA_H_INTERNAL diff --git a/src/liblzma/api/lzma/vli.h b/src/liblzma/api/lzma/vli.h --- a/src/liblzma/api/lzma/vli.h +++ b/src/liblzma/api/lzma/vli.h @@ -2,18 +2,25 @@ * \file lzma/vli.h * \brief Variable-length integer handling * - * \author Copyright (C) 1999-2006 Igor Pavlov - * \author Copyright (C) 2007 Lasse Collin + * In the .xz format, most integers are encoded in a variable-length + * representation, which is sometimes called little endian base-128 encoding. + * This saves space when smaller values are more likely than bigger values. * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * The encoding scheme encodes seven bits to every byte, using minimum + * number of bytes required to represent the given value. Encodings that use + * non-minimum number of bytes are invalid, thus every integer has exactly + * one encoded representation. The maximum number of bits in a VLI is 63, + * thus the vli argument must be at maximum of UINT64_MAX / 2. You should + * use LZMA_VLI_MAX for clarity. + */ + +/* + * Author: Lasse Collin * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * This file has been put into the public domain. + * You can do whatever you want with this file. + * + * See ../lzma.h for information about liblzma as a whole. */ #ifndef LZMA_H_INTERNAL @@ -71,18 +78,7 @@ /** - * \brief Encodes variable-length integer - * - * In the .xz format, most integers are encoded in a variable-length - * representation, which is sometimes called little endian base-128 encoding. - * This saves space when smaller values are more likely than bigger values. - * - * The encoding scheme encodes seven bits to every byte, using minimum - * number of bytes required to represent the given value. Encodings that use - * non-minimum number of bytes are invalid, thus every integer has exactly - * one encoded representation. The maximum number of bits in a VLI is 63, - * thus the vli argument must be at maximum of UINT64_MAX / 2. You should - * use LZMA_VLI_MAX for clarity. + * \brief Encode a variable-length integer * * This function has two modes: single-call and multi-call. Single-call mode * encodes the whole integer at once; it is an error if the output buffer is @@ -123,7 +119,7 @@ /** - * \brief Decodes variable-length integer + * \brief Decode a variable-length integer * * Like lzma_vli_encode(), this function has single-call and multi-call modes. * diff --git a/src/liblzma/check/Makefile.am b/src/liblzma/check/Makefile.am --- a/src/liblzma/check/Makefile.am +++ b/src/liblzma/check/Makefile.am @@ -1,10 +1,8 @@ ## -## This code has been put into the public domain. +## Author: Lasse Collin ## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. +## This file has been put into the public domain. +## You can do whatever you want with this file. ## EXTRA_DIST = crc32_tablegen.c crc64_tablegen.c diff --git a/src/liblzma/check/check.c b/src/liblzma/check/check.c --- a/src/liblzma/check/check.c +++ b/src/liblzma/check/check.c @@ -3,11 +3,10 @@ /// \file check.c /// \brief Single API to access different integrity checks // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/check/check.h b/src/liblzma/check/check.h --- a/src/liblzma/check/check.h +++ b/src/liblzma/check/check.h @@ -3,11 +3,10 @@ /// \file check.h /// \brief Internal API to different integrity check functions // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/check/crc32_fast.c b/src/liblzma/check/crc32_fast.c --- a/src/liblzma/check/crc32_fast.c +++ b/src/liblzma/check/crc32_fast.c @@ -2,12 +2,17 @@ // /// \file crc32.c /// \brief CRC32 calculation -// -// This code has been put into the public domain. +/// +/// Calculate the CRC32 using the slice-by-eight algorithm. +/// It is explained in this document: +/// http://www.intel.com/technology/comms/perfnet/download/CRC_generators.pdf +/// The code in this file is not the same as in Intel's paper, but +/// the basic principle is identical. // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// Author: Lasse Collin +// +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// @@ -43,17 +48,6 @@ size &= (size_t)(7); // Calculate the CRC32 using the slice-by-eight algorithm. - // It is explained in this document: - // http://www.intel.com/technology/comms/perfnet/download/CRC_generators.pdf - // - // The code below is different than the code in Intel's - // paper, but the principle is identical. This should be - // faster with GCC than Intel's code. This is tested only - // with GCC 3.4.6 and 4.1.2 on x86, so your results may vary. - // - // Using -Os and -fomit-frame-pointer seem to give the best - // results at least with GCC 4.1.2 on x86. It's sill far - // from the speed of hand-optimized assembler. while (buf < limit) { crc ^= *(uint32_t *)(buf); buf += 4; @@ -66,9 +60,9 @@ const uint32_t tmp = *(uint32_t *)(buf); buf += 4; - // It is critical for performance, that - // the crc variable is XORed between the - // two table-lookup pairs. + // At least with some compilers, it is critical for + // performance, that the crc variable is XORed + // between the two table-lookup pairs. crc = lzma_crc32_table[3][A(tmp)] ^ lzma_crc32_table[2][B(tmp)] ^ crc diff --git a/src/liblzma/check/crc32_small.c b/src/liblzma/check/crc32_small.c --- a/src/liblzma/check/crc32_small.c +++ b/src/liblzma/check/crc32_small.c @@ -3,11 +3,10 @@ /// \file crc32_small.c /// \brief CRC32 calculation (size-optimized) // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/check/crc32_table.c b/src/liblzma/check/crc32_table.c --- a/src/liblzma/check/crc32_table.c +++ b/src/liblzma/check/crc32_table.c @@ -3,11 +3,10 @@ /// \file crc32_table.c /// \brief Precalculated CRC32 table with correct endianness // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/check/crc32_tablegen.c b/src/liblzma/check/crc32_tablegen.c --- a/src/liblzma/check/crc32_tablegen.c +++ b/src/liblzma/check/crc32_tablegen.c @@ -6,11 +6,10 @@ /// Compiling: gcc -std=c99 -o crc32_tablegen crc32_tablegen.c /// Add -DWORDS_BIGENDIAN to generate big endian table. // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/check/crc32_x86.S b/src/liblzma/check/crc32_x86.S --- a/src/liblzma/check/crc32_x86.S +++ b/src/liblzma/check/crc32_x86.S @@ -1,11 +1,18 @@ /* * Speed-optimized CRC32 using slicing-by-eight algorithm - * Instruction set: i386 - * Optimized for: i686 * - * This code has been put into the public domain by its authors: - * Original code by Igor Pavlov <http://7-zip.org/> - * Position-independent version by Lasse Collin <lasse.collin@tukaani.org> + * This uses only i386 instructions, but it is optimized for i686 and later + * (including e.g. Pentium II/III/IV, Athlon XP, and Core 2). For i586 + * (e.g. Pentium), slicing-by-four would be better, and even the C version + * of slicing-by-eight built with gcc -march=i586 tends to be a little bit + * better than this. Very few probably run this code on i586 or older x86 + * so this shouldn't be a problem in practice. + * + * Authors: Igor Pavlov (original version) + * Lasse Collin (AT&T syntax, PIC support, better portability) + * + * This file has been put into the public domain. + * You can do whatever you want with this file. * * This code needs lzma_crc32_table, which can be created using the * following C code: @@ -15,10 +22,10 @@ void init_table(void) { - // IEEE-802.3 (CRC32) + // IEEE-802.3 static const uint32_t poly32 = UINT32_C(0xEDB88320); - // Castagnoli (CRC32C) + // Castagnoli // static const uint32_t poly32 = UINT32_C(0x82F63B78); // Koopman diff --git a/src/liblzma/check/crc64_fast.c b/src/liblzma/check/crc64_fast.c --- a/src/liblzma/check/crc64_fast.c +++ b/src/liblzma/check/crc64_fast.c @@ -2,12 +2,15 @@ // /// \file crc64.c /// \brief CRC64 calculation -// -// This code has been put into the public domain. +/// +/// Calculate the CRC64 using the slice-by-four algorithm. This is the same +/// idea that is used in crc32_fast.c, but for CRC64 we use only four tables +/// instead of eight to avoid increasing CPU cache usage. // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// Author: Lasse Collin +// +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// @@ -22,7 +25,7 @@ #endif -// See comments in crc32.c. +// See the comments in crc32_fast.c. They aren't duplicated here. extern LZMA_API(uint64_t) lzma_crc64(const uint8_t *buf, size_t size, uint64_t crc) { @@ -41,10 +44,6 @@ const uint8_t *const limit = buf + (size & ~(size_t)(3)); size &= (size_t)(3); - // Calculate the CRC64 using the slice-by-four algorithm. - // - // In contrast to CRC32 code, this one seems to be fastest - // with -O3 -fomit-frame-pointer. while (buf < limit) { #ifdef WORDS_BIGENDIAN const uint32_t tmp = (crc >> 32) ^ *(uint32_t *)(buf); @@ -53,9 +52,6 @@ #endif buf += 4; - // It is critical for performance, that - // the crc variable is XORed between the - // two table-lookup pairs. crc = lzma_crc64_table[3][A(tmp)] ^ lzma_crc64_table[2][B(tmp)] ^ S32(crc) diff --git a/src/liblzma/check/crc64_small.c b/src/liblzma/check/crc64_small.c --- a/src/liblzma/check/crc64_small.c +++ b/src/liblzma/check/crc64_small.c @@ -3,11 +3,10 @@ /// \file crc64_small.c /// \brief CRC64 calculation (size-optimized) // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/check/crc64_table.c b/src/liblzma/check/crc64_table.c --- a/src/liblzma/check/crc64_table.c +++ b/src/liblzma/check/crc64_table.c @@ -3,11 +3,10 @@ /// \file crc64_table.c /// \brief Precalculated CRC64 table with correct endianness // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/check/crc64_tablegen.c b/src/liblzma/check/crc64_tablegen.c --- a/src/liblzma/check/crc64_tablegen.c +++ b/src/liblzma/check/crc64_tablegen.c @@ -6,11 +6,10 @@ /// Compiling: gcc -std=c99 -o crc64_tablegen crc64_tablegen.c /// Add -DWORDS_BIGENDIAN to generate big endian table. // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/check/crc64_x86.S b/src/liblzma/check/crc64_x86.S --- a/src/liblzma/check/crc64_x86.S +++ b/src/liblzma/check/crc64_x86.S @@ -1,11 +1,14 @@ /* * Speed-optimized CRC64 using slicing-by-four algorithm - * Instruction set: i386 - * Optimized for: i686 + * + * This uses only i386 instructions, but it is optimized for i686 and later + * (including e.g. Pentium II/III/IV, Athlon XP, and Core 2). * - * This code has been put into the public domain by its authors: - * Igor Pavlov <http://7-zip.org/> - * Lasse Collin <lasse.collin@tukaani.org> + * Authors: Igor Pavlov (original CRC32 assembly code) + * Lasse Collin (CRC64 adaptation of the modified CRC32 code) + * + * This file has been put into the public domain. + * You can do whatever you want with this file. * * This code needs lzma_crc64_table, which can be created using the * following C code: @@ -15,6 +18,7 @@ void init_table(void) { + // ECMA-182 static const uint64_t poly64 = UINT64_C(0xC96C5795D7870F42); for (size_t s = 0; s < 4; ++s) { diff --git a/src/liblzma/check/crc_macros.h b/src/liblzma/check/crc_macros.h --- a/src/liblzma/check/crc_macros.h +++ b/src/liblzma/check/crc_macros.h @@ -1,13 +1,12 @@ /////////////////////////////////////////////////////////////////////////////// // -/// \file crc_macros +/// \file crc_macros.h /// \brief Some endian-dependent macros for CRC32 and CRC64 // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/check/sha256.c b/src/liblzma/check/sha256.c --- a/src/liblzma/check/sha256.c +++ b/src/liblzma/check/sha256.c @@ -1,19 +1,24 @@ /////////////////////////////////////////////////////////////////////////////// // /// \file sha256.c -/// \brief SHA256 -// -// Based on the public domain code found from Wei Dai's Crypto++ library -// version 5.5.1: http://www.cryptopp.com/ -// This code has been put into the public domain. -// +/// \brief SHA-256 +/// /// \todo Crypto++ has x86 ASM optimizations. They use SSE so if they /// are imported to liblzma, SSE instructions need to be used /// conditionally to keep the code working on older boxes. +/// We could also support using some external libary for SHA-256. // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This code is based on the code found from 7-Zip, which has a modified +// version of the SHA-256 found from Crypto++ <http://www.cryptopp.com/>. +// The code was modified a little to fit into liblzma. +// +// Authors: Kevin Springle +// Wei Dai +// Igor Pavlov +// Lasse Collin +// +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/Makefile.am b/src/liblzma/common/Makefile.am --- a/src/liblzma/common/Makefile.am +++ b/src/liblzma/common/Makefile.am @@ -1,15 +1,8 @@ ## -## Copyright (C) 2007 Lasse Collin +## Author: Lasse Collin ## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. +## This file has been put into the public domain. +## You can do whatever you want with this file. ## noinst_LTLIBRARIES = libcommon.la diff --git a/src/liblzma/common/alone_decoder.c b/src/liblzma/common/alone_decoder.c --- a/src/liblzma/common/alone_decoder.c +++ b/src/liblzma/common/alone_decoder.c @@ -3,17 +3,10 @@ /// \file alone_decoder.c /// \brief Decoder for LZMA_Alone files // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/alone_decoder.h b/src/liblzma/common/alone_decoder.h --- a/src/liblzma/common/alone_decoder.h +++ b/src/liblzma/common/alone_decoder.h @@ -3,17 +3,10 @@ /// \file alone_decoder.h /// \brief Decoder for LZMA_Alone files // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/alone_encoder.c b/src/liblzma/common/alone_encoder.c --- a/src/liblzma/common/alone_encoder.c +++ b/src/liblzma/common/alone_encoder.c @@ -3,17 +3,10 @@ /// \file alone_decoder.c /// \brief Decoder for LZMA_Alone files // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/auto_decoder.c b/src/liblzma/common/auto_decoder.c --- a/src/liblzma/common/auto_decoder.c +++ b/src/liblzma/common/auto_decoder.c @@ -3,17 +3,10 @@ /// \file auto_decoder.c /// \brief Autodetect between .xz Stream and .lzma (LZMA_Alone) formats // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/block_buffer_decoder.c b/src/liblzma/common/block_buffer_decoder.c --- a/src/liblzma/common/block_buffer_decoder.c +++ b/src/liblzma/common/block_buffer_decoder.c @@ -3,17 +3,10 @@ /// \file block_buffer_decoder.c /// \brief Single-call .xz Block decoder // -// Copyright (C) 2009 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/block_buffer_encoder.c b/src/liblzma/common/block_buffer_encoder.c --- a/src/liblzma/common/block_buffer_encoder.c +++ b/src/liblzma/common/block_buffer_encoder.c @@ -3,17 +3,10 @@ /// \file block_buffer_encoder.c /// \brief Single-call .xz Block encoder // -// Copyright (C) 2009 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/block_decoder.c b/src/liblzma/common/block_decoder.c --- a/src/liblzma/common/block_decoder.c +++ b/src/liblzma/common/block_decoder.c @@ -3,17 +3,10 @@ /// \file block_decoder.c /// \brief Decodes .xz Blocks // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/block_decoder.h b/src/liblzma/common/block_decoder.h --- a/src/liblzma/common/block_decoder.h +++ b/src/liblzma/common/block_decoder.h @@ -3,17 +3,10 @@ /// \file block_decoder.h /// \brief Decodes .xz Blocks // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/block_encoder.c b/src/liblzma/common/block_encoder.c --- a/src/liblzma/common/block_encoder.c +++ b/src/liblzma/common/block_encoder.c @@ -3,17 +3,10 @@ /// \file block_encoder.c /// \brief Encodes .xz Blocks // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/block_encoder.h b/src/liblzma/common/block_encoder.h --- a/src/liblzma/common/block_encoder.h +++ b/src/liblzma/common/block_encoder.h @@ -3,17 +3,10 @@ /// \file block_encoder.h /// \brief Encodes .xz Blocks // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/block_header_decoder.c b/src/liblzma/common/block_header_decoder.c --- a/src/liblzma/common/block_header_decoder.c +++ b/src/liblzma/common/block_header_decoder.c @@ -3,17 +3,10 @@ /// \file block_header_decoder.c /// \brief Decodes Block Header from .xz files // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/block_header_encoder.c b/src/liblzma/common/block_header_encoder.c --- a/src/liblzma/common/block_header_encoder.c +++ b/src/liblzma/common/block_header_encoder.c @@ -3,17 +3,10 @@ /// \file block_header_encoder.c /// \brief Encodes Block Header for .xz files // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/block_util.c b/src/liblzma/common/block_util.c --- a/src/liblzma/common/block_util.c +++ b/src/liblzma/common/block_util.c @@ -3,17 +3,10 @@ /// \file block_header.c /// \brief Utility functions to handle lzma_block // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/bsr.h b/src/liblzma/common/bsr.h --- a/src/liblzma/common/bsr.h +++ b/src/liblzma/common/bsr.h @@ -3,11 +3,10 @@ /// \file bsr.h /// \brief Bit scan reverse // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/chunk_size.c b/src/liblzma/common/chunk_size.c --- a/src/liblzma/common/chunk_size.c +++ b/src/liblzma/common/chunk_size.c @@ -3,17 +3,10 @@ /// \file chunk_size.c /// \brief Finds out the minimal reasonable chunk size for a filter chain // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/common.c b/src/liblzma/common/common.c --- a/src/liblzma/common/common.c +++ b/src/liblzma/common/common.c @@ -3,17 +3,10 @@ /// \file common.h /// \brief Common functions needed in many places in liblzma // -// Copyright (C) 2007-2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/common.h b/src/liblzma/common/common.h --- a/src/liblzma/common/common.h +++ b/src/liblzma/common/common.h @@ -3,17 +3,10 @@ /// \file common.h /// \brief Definitions common to the whole liblzma library // -// Copyright (C) 2007-2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/easy_buffer_encoder.c b/src/liblzma/common/easy_buffer_encoder.c --- a/src/liblzma/common/easy_buffer_encoder.c +++ b/src/liblzma/common/easy_buffer_encoder.c @@ -3,17 +3,10 @@ /// \file easy_buffer_encoder.c /// \brief Easy single-call .xz Stream encoder // -// Copyright (C) 2009 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/easy_decoder_memusage.c b/src/liblzma/common/easy_decoder_memusage.c --- a/src/liblzma/common/easy_decoder_memusage.c +++ b/src/liblzma/common/easy_decoder_memusage.c @@ -3,17 +3,10 @@ /// \file easy_decoder_memusage.c /// \brief Decoder memory usage calculation to match easy encoder presets // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/easy_encoder.c b/src/liblzma/common/easy_encoder.c --- a/src/liblzma/common/easy_encoder.c +++ b/src/liblzma/common/easy_encoder.c @@ -3,17 +3,10 @@ /// \file easy_encoder.c /// \brief Easy .xz Stream encoder initialization // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/easy_encoder_memusage.c b/src/liblzma/common/easy_encoder_memusage.c --- a/src/liblzma/common/easy_encoder_memusage.c +++ b/src/liblzma/common/easy_encoder_memusage.c @@ -3,17 +3,10 @@ /// \file easy_encoder_memusage.c /// \brief Easy .xz Stream encoder memory usage calculation // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/easy_preset.c b/src/liblzma/common/easy_preset.c --- a/src/liblzma/common/easy_preset.c +++ b/src/liblzma/common/easy_preset.c @@ -3,17 +3,10 @@ /// \file easy_preset.c /// \brief Preset handling for easy encoder and decoder // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/easy_preset.h b/src/liblzma/common/easy_preset.h --- a/src/liblzma/common/easy_preset.h +++ b/src/liblzma/common/easy_preset.h @@ -3,17 +3,10 @@ /// \file easy_preset.h /// \brief Preset handling for easy encoder and decoder // -// Copyright (C) 2009 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/filter_buffer_decoder.c b/src/liblzma/common/filter_buffer_decoder.c --- a/src/liblzma/common/filter_buffer_decoder.c +++ b/src/liblzma/common/filter_buffer_decoder.c @@ -3,17 +3,10 @@ /// \file filter_buffer_decoder.c /// \brief Single-call raw decoding // -// Copyright (C) 2009 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/filter_buffer_encoder.c b/src/liblzma/common/filter_buffer_encoder.c --- a/src/liblzma/common/filter_buffer_encoder.c +++ b/src/liblzma/common/filter_buffer_encoder.c @@ -3,17 +3,10 @@ /// \file filter_buffer_encoder.c /// \brief Single-call raw encoding // -// Copyright (C) 2009 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/filter_common.c b/src/liblzma/common/filter_common.c --- a/src/liblzma/common/filter_common.c +++ b/src/liblzma/common/filter_common.c @@ -3,17 +3,10 @@ /// \file filter_common.c /// \brief Filter-specific stuff common for both encoder and decoder // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/filter_common.h b/src/liblzma/common/filter_common.h --- a/src/liblzma/common/filter_common.h +++ b/src/liblzma/common/filter_common.h @@ -3,17 +3,10 @@ /// \file filter_common.c /// \brief Filter-specific stuff common for both encoder and decoder // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/filter_decoder.c b/src/liblzma/common/filter_decoder.c --- a/src/liblzma/common/filter_decoder.c +++ b/src/liblzma/common/filter_decoder.c @@ -3,17 +3,10 @@ /// \file filter_decoder.c /// \brief Filter ID mapping to filter-specific functions // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/filter_decoder.h b/src/liblzma/common/filter_decoder.h --- a/src/liblzma/common/filter_decoder.h +++ b/src/liblzma/common/filter_decoder.h @@ -3,17 +3,10 @@ /// \file filter_decoder.c /// \brief Filter ID mapping to filter-specific functions // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/filter_encoder.c b/src/liblzma/common/filter_encoder.c --- a/src/liblzma/common/filter_encoder.c +++ b/src/liblzma/common/filter_encoder.c @@ -3,17 +3,10 @@ /// \file filter_decoder.c /// \brief Filter ID mapping to filter-specific functions // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/filter_encoder.h b/src/liblzma/common/filter_encoder.h --- a/src/liblzma/common/filter_encoder.h +++ b/src/liblzma/common/filter_encoder.h @@ -3,17 +3,10 @@ /// \file filter_encoder.c /// \brief Filter ID mapping to filter-specific functions // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/filter_flags_decoder.c b/src/liblzma/common/filter_flags_decoder.c --- a/src/liblzma/common/filter_flags_decoder.c +++ b/src/liblzma/common/filter_flags_decoder.c @@ -3,17 +3,10 @@ /// \file filter_flags_decoder.c /// \brief Decodes a Filter Flags field // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/filter_flags_encoder.c b/src/liblzma/common/filter_flags_encoder.c --- a/src/liblzma/common/filter_flags_encoder.c +++ b/src/liblzma/common/filter_flags_encoder.c @@ -3,17 +3,10 @@ /// \file filter_flags_encoder.c /// \brief Decodes a Filter Flags field // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/index.c b/src/liblzma/common/index.c --- a/src/liblzma/common/index.c +++ b/src/liblzma/common/index.c @@ -3,17 +3,10 @@ /// \file index.c /// \brief Handling of Index // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/index.h b/src/liblzma/common/index.h --- a/src/liblzma/common/index.h +++ b/src/liblzma/common/index.h @@ -3,17 +3,10 @@ /// \file index.h /// \brief Handling of Index // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/index_decoder.c b/src/liblzma/common/index_decoder.c --- a/src/liblzma/common/index_decoder.c +++ b/src/liblzma/common/index_decoder.c @@ -3,17 +3,10 @@ /// \file index_decoder.c /// \brief Decodes the Index field // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/index_encoder.c b/src/liblzma/common/index_encoder.c --- a/src/liblzma/common/index_encoder.c +++ b/src/liblzma/common/index_encoder.c @@ -3,17 +3,10 @@ /// \file index_encoder.c /// \brief Encodes the Index field // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/index_encoder.h b/src/liblzma/common/index_encoder.h --- a/src/liblzma/common/index_encoder.h +++ b/src/liblzma/common/index_encoder.h @@ -3,17 +3,10 @@ /// \file index_encoder.h /// \brief Encodes the Index field // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/index_hash.c b/src/liblzma/common/index_hash.c --- a/src/liblzma/common/index_hash.c +++ b/src/liblzma/common/index_hash.c @@ -3,17 +3,10 @@ /// \file index_hash.c /// \brief Validates Index by using a hash function // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/stream_buffer_decoder.c b/src/liblzma/common/stream_buffer_decoder.c --- a/src/liblzma/common/stream_buffer_decoder.c +++ b/src/liblzma/common/stream_buffer_decoder.c @@ -3,17 +3,10 @@ /// \file stream_buffer_decoder.c /// \brief Single-call .xz Stream decoder // -// Copyright (C) 2009 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/stream_buffer_encoder.c b/src/liblzma/common/stream_buffer_encoder.c --- a/src/liblzma/common/stream_buffer_encoder.c +++ b/src/liblzma/common/stream_buffer_encoder.c @@ -3,17 +3,10 @@ /// \file stream_buffer_encoder.c /// \brief Single-call .xz Stream encoder // -// Copyright (C) 2009 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/stream_decoder.c b/src/liblzma/common/stream_decoder.c --- a/src/liblzma/common/stream_decoder.c +++ b/src/liblzma/common/stream_decoder.c @@ -3,17 +3,10 @@ /// \file stream_decoder.c /// \brief Decodes .xz Streams // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/stream_decoder.h b/src/liblzma/common/stream_decoder.h --- a/src/liblzma/common/stream_decoder.h +++ b/src/liblzma/common/stream_decoder.h @@ -3,17 +3,10 @@ /// \file stream_decoder.h /// \brief Decodes .xz Streams // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/stream_encoder.c b/src/liblzma/common/stream_encoder.c --- a/src/liblzma/common/stream_encoder.c +++ b/src/liblzma/common/stream_encoder.c @@ -3,17 +3,10 @@ /// \file stream_encoder.c /// \brief Encodes .xz Streams // -// Copyright (C) 2007-2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/stream_encoder.h b/src/liblzma/common/stream_encoder.h --- a/src/liblzma/common/stream_encoder.h +++ b/src/liblzma/common/stream_encoder.h @@ -3,17 +3,10 @@ /// \file stream_encoder.h /// \brief Encodes .xz Streams // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/stream_flags_common.c b/src/liblzma/common/stream_flags_common.c --- a/src/liblzma/common/stream_flags_common.c +++ b/src/liblzma/common/stream_flags_common.c @@ -3,17 +3,10 @@ /// \file stream_flags_common.c /// \brief Common stuff for Stream flags coders // -// Copyright (C) 2007-2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/stream_flags_common.h b/src/liblzma/common/stream_flags_common.h --- a/src/liblzma/common/stream_flags_common.h +++ b/src/liblzma/common/stream_flags_common.h @@ -3,17 +3,10 @@ /// \file stream_flags_common.h /// \brief Common stuff for Stream flags coders // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/stream_flags_decoder.c b/src/liblzma/common/stream_flags_decoder.c --- a/src/liblzma/common/stream_flags_decoder.c +++ b/src/liblzma/common/stream_flags_decoder.c @@ -3,17 +3,10 @@ /// \file stream_flags_decoder.c /// \brief Decodes Stream Header and Stream Footer from .xz files // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/stream_flags_encoder.c b/src/liblzma/common/stream_flags_encoder.c --- a/src/liblzma/common/stream_flags_encoder.c +++ b/src/liblzma/common/stream_flags_encoder.c @@ -3,17 +3,10 @@ /// \file stream_flags_encoder.c /// \brief Encodes Stream Header and Stream Footer for .xz files // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/vli_decoder.c b/src/liblzma/common/vli_decoder.c --- a/src/liblzma/common/vli_decoder.c +++ b/src/liblzma/common/vli_decoder.c @@ -3,17 +3,10 @@ /// \file vli_decoder.c /// \brief Decodes variable-length integers // -// Copyright (C) 2007-2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/vli_encoder.c b/src/liblzma/common/vli_encoder.c --- a/src/liblzma/common/vli_encoder.c +++ b/src/liblzma/common/vli_encoder.c @@ -3,17 +3,10 @@ /// \file vli_encoder.c /// \brief Encodes variable-length integers // -// Copyright (C) 2007-2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/common/vli_size.c b/src/liblzma/common/vli_size.c --- a/src/liblzma/common/vli_size.c +++ b/src/liblzma/common/vli_size.c @@ -3,17 +3,10 @@ /// \file vli_size.c /// \brief Calculates the encoded size of a variable-length integer // -// Copyright (C) 2007-2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/delta/Makefile.am b/src/liblzma/delta/Makefile.am --- a/src/liblzma/delta/Makefile.am +++ b/src/liblzma/delta/Makefile.am @@ -1,15 +1,8 @@ ## -## Copyright (C) 2008 Lasse Collin +## Author: Lasse Collin ## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. +## This file has been put into the public domain. +## You can do whatever you want with this file. ## noinst_LTLIBRARIES = libdelta.la diff --git a/src/liblzma/delta/delta_common.c b/src/liblzma/delta/delta_common.c --- a/src/liblzma/delta/delta_common.c +++ b/src/liblzma/delta/delta_common.c @@ -3,17 +3,10 @@ /// \file delta_common.c /// \brief Common stuff for Delta encoder and decoder // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/delta/delta_common.h b/src/liblzma/delta/delta_common.h --- a/src/liblzma/delta/delta_common.h +++ b/src/liblzma/delta/delta_common.h @@ -3,17 +3,10 @@ /// \file delta_common.h /// \brief Common stuff for Delta encoder and decoder // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/delta/delta_decoder.c b/src/liblzma/delta/delta_decoder.c --- a/src/liblzma/delta/delta_decoder.c +++ b/src/liblzma/delta/delta_decoder.c @@ -3,17 +3,10 @@ /// \file delta_decoder.c /// \brief Delta filter decoder // -// Copyright (C) 2007, 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/delta/delta_decoder.h b/src/liblzma/delta/delta_decoder.h --- a/src/liblzma/delta/delta_decoder.h +++ b/src/liblzma/delta/delta_decoder.h @@ -3,17 +3,10 @@ /// \file delta_decoder.h /// \brief Delta filter decoder // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/delta/delta_encoder.c b/src/liblzma/delta/delta_encoder.c --- a/src/liblzma/delta/delta_encoder.c +++ b/src/liblzma/delta/delta_encoder.c @@ -3,17 +3,10 @@ /// \file delta_encoder.c /// \brief Delta filter encoder // -// Copyright (C) 2007, 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/delta/delta_encoder.h b/src/liblzma/delta/delta_encoder.h --- a/src/liblzma/delta/delta_encoder.h +++ b/src/liblzma/delta/delta_encoder.h @@ -3,17 +3,10 @@ /// \file delta_encoder.h /// \brief Delta filter encoder // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/delta/delta_private.h b/src/liblzma/delta/delta_private.h --- a/src/liblzma/delta/delta_private.h +++ b/src/liblzma/delta/delta_private.h @@ -3,17 +3,10 @@ /// \file delta_private.h /// \brief Private common stuff for Delta encoder and decoder // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lz/Makefile.am b/src/liblzma/lz/Makefile.am --- a/src/liblzma/lz/Makefile.am +++ b/src/liblzma/lz/Makefile.am @@ -1,15 +1,8 @@ ## -## Copyright (C) 2007 Lasse Collin +## Author: Lasse Collin ## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. +## This file has been put into the public domain. +## You can do whatever you want with this file. ## noinst_LTLIBRARIES = liblz.la diff --git a/src/liblzma/lz/lz_decoder.c b/src/liblzma/lz/lz_decoder.c --- a/src/liblzma/lz/lz_decoder.c +++ b/src/liblzma/lz/lz_decoder.c @@ -2,19 +2,12 @@ // /// \file lz_decoder.c /// \brief LZ out window -// -// Copyright (C) 1999-2006 Igor Pavlov -// Copyright (C) 2007 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lz/lz_decoder.h b/src/liblzma/lz/lz_decoder.h --- a/src/liblzma/lz/lz_decoder.h +++ b/src/liblzma/lz/lz_decoder.h @@ -2,19 +2,12 @@ // /// \file lz_decoder.h /// \brief LZ out window -// -// Copyright (C) 1999-2006 Igor Pavlov -// Copyright (C) 2007 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lz/lz_encoder.c b/src/liblzma/lz/lz_encoder.c --- a/src/liblzma/lz/lz_encoder.c +++ b/src/liblzma/lz/lz_encoder.c @@ -2,19 +2,12 @@ // /// \file lz_encoder.c /// \brief LZ in window -// -// Copyright (C) 1999-2008 Igor Pavlov -// Copyright (C) 2007-2008 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lz/lz_encoder.h b/src/liblzma/lz/lz_encoder.h --- a/src/liblzma/lz/lz_encoder.h +++ b/src/liblzma/lz/lz_encoder.h @@ -2,19 +2,12 @@ // /// \file lz_encoder.h /// \brief LZ in window and match finder API -// -// Copyright (C) 1999-2008 Igor Pavlov -// Copyright (C) 2008 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lz/lz_encoder_hash.h b/src/liblzma/lz/lz_encoder_hash.h --- a/src/liblzma/lz/lz_encoder_hash.h +++ b/src/liblzma/lz/lz_encoder_hash.h @@ -3,17 +3,10 @@ /// \file lz_encoder_hash.h /// \brief Hash macros for match finders // -// Copyright (C) 1999-2008 Igor Pavlov +// Author: Igor Pavlov // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lz/lz_encoder_mf.c b/src/liblzma/lz/lz_encoder_mf.c --- a/src/liblzma/lz/lz_encoder_mf.c +++ b/src/liblzma/lz/lz_encoder_mf.c @@ -2,19 +2,12 @@ // /// \file lz_encoder_mf.c /// \brief Match finders -// -// Copyright (C) 1999-2008 Igor Pavlov -// Copyright (C) 2008 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lzma/Makefile.am b/src/liblzma/lzma/Makefile.am --- a/src/liblzma/lzma/Makefile.am +++ b/src/liblzma/lzma/Makefile.am @@ -1,15 +1,8 @@ ## -## Copyright (C) 2007 Lasse Collin +## Author: Lasse Collin ## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. +## This file has been put into the public domain. +## You can do whatever you want with this file. ## EXTRA_DIST = fastpos_tablegen.c diff --git a/src/liblzma/lzma/fastpos.h b/src/liblzma/lzma/fastpos.h --- a/src/liblzma/lzma/fastpos.h +++ b/src/liblzma/lzma/fastpos.h @@ -2,19 +2,12 @@ // /// \file fastpos.h /// \brief Kind of two-bit version of bit scan reverse -// -// Copyright (C) 1999-2007 Igor Pavlov -// Copyright (C) 2008 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lzma/fastpos_tablegen.c b/src/liblzma/lzma/fastpos_tablegen.c --- a/src/liblzma/lzma/fastpos_tablegen.c +++ b/src/liblzma/lzma/fastpos_tablegen.c @@ -2,19 +2,12 @@ // /// \file fastpos_tablegen.c /// \brief Generates the lzma_fastpos[] lookup table -// -// Copyright (C) 1999-2007 Igor Pavlov -// Copyright (C) 2008 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lzma/lzma2_decoder.c b/src/liblzma/lzma/lzma2_decoder.c --- a/src/liblzma/lzma/lzma2_decoder.c +++ b/src/liblzma/lzma/lzma2_decoder.c @@ -2,19 +2,12 @@ // /// \file lzma2_decoder.c /// \brief LZMA2 decoder -// -// Copyright (C) 1999-2008 Igor Pavlov -// Copyright (C) 2008 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lzma/lzma2_decoder.h b/src/liblzma/lzma/lzma2_decoder.h --- a/src/liblzma/lzma/lzma2_decoder.h +++ b/src/liblzma/lzma/lzma2_decoder.h @@ -2,19 +2,12 @@ // /// \file lzma2_decoder.h /// \brief LZMA2 decoder -// -// Copyright (C) 1999-2008 Igor Pavlov -// Copyright (C) 2008 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lzma/lzma2_encoder.c b/src/liblzma/lzma/lzma2_encoder.c --- a/src/liblzma/lzma/lzma2_encoder.c +++ b/src/liblzma/lzma/lzma2_encoder.c @@ -2,19 +2,12 @@ // /// \file lzma2_encoder.c /// \brief LZMA2 encoder -// -// Copyright (C) 1999-2008 Igor Pavlov -// Copyright (C) 2008 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lzma/lzma2_encoder.h b/src/liblzma/lzma/lzma2_encoder.h --- a/src/liblzma/lzma/lzma2_encoder.h +++ b/src/liblzma/lzma/lzma2_encoder.h @@ -2,19 +2,12 @@ // /// \file lzma2_encoder.h /// \brief LZMA2 encoder -// -// Copyright (C) 1999-2008 Igor Pavlov -// Copyright (C) 2008 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lzma/lzma_common.h b/src/liblzma/lzma/lzma_common.h --- a/src/liblzma/lzma/lzma_common.h +++ b/src/liblzma/lzma/lzma_common.h @@ -2,19 +2,12 @@ // /// \file lzma_common.h /// \brief Private definitions common to LZMA encoder and decoder -// -// Copyright (C) 1999-2006 Igor Pavlov -// Copyright (C) 2007 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lzma/lzma_decoder.c b/src/liblzma/lzma/lzma_decoder.c --- a/src/liblzma/lzma/lzma_decoder.c +++ b/src/liblzma/lzma/lzma_decoder.c @@ -2,19 +2,12 @@ // /// \file lzma_decoder.c /// \brief LZMA decoder -// -// Copyright (C) 1999-2006 Igor Pavlov -// Copyright (C) 2007-2008 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lzma/lzma_decoder.h b/src/liblzma/lzma/lzma_decoder.h --- a/src/liblzma/lzma/lzma_decoder.h +++ b/src/liblzma/lzma/lzma_decoder.h @@ -2,19 +2,12 @@ // /// \file lzma_decoder.h /// \brief LZMA decoder API -// -// Copyright (C) 1999-2006 Igor Pavlov -// Copyright (C) 2007 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lzma/lzma_encoder.c b/src/liblzma/lzma/lzma_encoder.c --- a/src/liblzma/lzma/lzma_encoder.c +++ b/src/liblzma/lzma/lzma_encoder.c @@ -2,19 +2,12 @@ // /// \file lzma_encoder.c /// \brief LZMA encoder -// -// Copyright (C) 1999-2006 Igor Pavlov -// Copyright (C) 2007 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lzma/lzma_encoder.h b/src/liblzma/lzma/lzma_encoder.h --- a/src/liblzma/lzma/lzma_encoder.h +++ b/src/liblzma/lzma/lzma_encoder.h @@ -2,19 +2,12 @@ // /// \file lzma_encoder.h /// \brief LZMA encoder API -// -// Copyright (C) 1999-2006 Igor Pavlov -// Copyright (C) 2007 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lzma/lzma_encoder_optimum_fast.c b/src/liblzma/lzma/lzma_encoder_optimum_fast.c --- a/src/liblzma/lzma/lzma_encoder_optimum_fast.c +++ b/src/liblzma/lzma/lzma_encoder_optimum_fast.c @@ -2,17 +2,10 @@ // /// \file lzma_encoder_optimum_fast.c // -// Copyright (C) 1999-2008 Igor Pavlov +// Author: Igor Pavlov // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lzma/lzma_encoder_optimum_normal.c b/src/liblzma/lzma/lzma_encoder_optimum_normal.c --- a/src/liblzma/lzma/lzma_encoder_optimum_normal.c +++ b/src/liblzma/lzma/lzma_encoder_optimum_normal.c @@ -2,17 +2,10 @@ // /// \file lzma_encoder_optimum_normal.c // -// Copyright (C) 1999-2008 Igor Pavlov +// Author: Igor Pavlov // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lzma/lzma_encoder_presets.c b/src/liblzma/lzma/lzma_encoder_presets.c --- a/src/liblzma/lzma/lzma_encoder_presets.c +++ b/src/liblzma/lzma/lzma_encoder_presets.c @@ -3,17 +3,10 @@ /// \file lzma_encoder_presets.c /// \brief Encoder presets // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/lzma/lzma_encoder_private.h b/src/liblzma/lzma/lzma_encoder_private.h --- a/src/liblzma/lzma/lzma_encoder_private.h +++ b/src/liblzma/lzma/lzma_encoder_private.h @@ -2,19 +2,12 @@ // /// \file lzma_encoder_private.h /// \brief Private definitions for LZMA encoder -// -// Copyright (C) 1999-2006 Igor Pavlov -// Copyright (C) 2007 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/rangecoder/Makefile.am b/src/liblzma/rangecoder/Makefile.am --- a/src/liblzma/rangecoder/Makefile.am +++ b/src/liblzma/rangecoder/Makefile.am @@ -1,15 +1,8 @@ ## -## Copyright (C) 2006 Lasse Collin +## Author: Lasse Collin ## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. +## This file has been put into the public domain. +## You can do whatever you want with this file. ## EXTRA_DIST = price_tablegen.c diff --git a/src/liblzma/rangecoder/price.h b/src/liblzma/rangecoder/price.h --- a/src/liblzma/rangecoder/price.h +++ b/src/liblzma/rangecoder/price.h @@ -3,17 +3,10 @@ /// \file price.h /// \brief Probability price calculation // -// Copyright (C) 1999-2008 Igor Pavlov +// Author: Igor Pavlov // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/rangecoder/price_tablegen.c b/src/liblzma/rangecoder/price_tablegen.c --- a/src/liblzma/rangecoder/price_tablegen.c +++ b/src/liblzma/rangecoder/price_tablegen.c @@ -4,18 +4,12 @@ /// \brief Probability price table generator /// /// Compiling: gcc -std=c99 -o price_tablegen price_tablegen.c -// -// Copyright (C) 2007 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/rangecoder/range_common.h b/src/liblzma/rangecoder/range_common.h --- a/src/liblzma/rangecoder/range_common.h +++ b/src/liblzma/rangecoder/range_common.h @@ -2,19 +2,12 @@ // /// \file range_common.h /// \brief Common things for range encoder and decoder -// -// Copyright (C) 1999-2006 Igor Pavlov -// Copyright (C) 2006 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/rangecoder/range_decoder.h b/src/liblzma/rangecoder/range_decoder.h --- a/src/liblzma/rangecoder/range_decoder.h +++ b/src/liblzma/rangecoder/range_decoder.h @@ -2,19 +2,12 @@ // /// \file range_decoder.h /// \brief Range Decoder -// -// Copyright (C) 1999-2006 Igor Pavlov -// Copyright (C) 2007 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/rangecoder/range_encoder.h b/src/liblzma/rangecoder/range_encoder.h --- a/src/liblzma/rangecoder/range_encoder.h +++ b/src/liblzma/rangecoder/range_encoder.h @@ -2,19 +2,12 @@ // /// \file range_encoder.h /// \brief Range Encoder -// -// Copyright (C) 1999-2006 Igor Pavlov -// Copyright (C) 2007-2008 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/simple/Makefile.am b/src/liblzma/simple/Makefile.am --- a/src/liblzma/simple/Makefile.am +++ b/src/liblzma/simple/Makefile.am @@ -1,15 +1,8 @@ ## -## Copyright (C) 2007 Lasse Collin +## Author: Lasse Collin ## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. +## This file has been put into the public domain. +## You can do whatever you want with this file. ## noinst_LTLIBRARIES = libsimple.la diff --git a/src/liblzma/simple/arm.c b/src/liblzma/simple/arm.c --- a/src/liblzma/simple/arm.c +++ b/src/liblzma/simple/arm.c @@ -2,19 +2,12 @@ // /// \file arm.c /// \brief Filter for ARM binaries -// -// Copyright (C) 1999-2006 Igor Pavlov -// Copyright (C) 2007 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/simple/armthumb.c b/src/liblzma/simple/armthumb.c --- a/src/liblzma/simple/armthumb.c +++ b/src/liblzma/simple/armthumb.c @@ -2,19 +2,12 @@ // /// \file armthumb.c /// \brief Filter for ARM-Thumb binaries -// -// Copyright (C) 1999-2006 Igor Pavlov -// Copyright (C) 2007 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/simple/ia64.c b/src/liblzma/simple/ia64.c --- a/src/liblzma/simple/ia64.c +++ b/src/liblzma/simple/ia64.c @@ -2,19 +2,12 @@ // /// \file ia64.c /// \brief Filter for IA64 (Itanium) binaries -// -// Copyright (C) 1999-2006 Igor Pavlov -// Copyright (C) 2007 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/simple/powerpc.c b/src/liblzma/simple/powerpc.c --- a/src/liblzma/simple/powerpc.c +++ b/src/liblzma/simple/powerpc.c @@ -2,19 +2,12 @@ // /// \file powerpc.c /// \brief Filter for PowerPC (big endian) binaries -// -// Copyright (C) 1999-2006 Igor Pavlov -// Copyright (C) 2007 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/simple/simple_coder.c b/src/liblzma/simple/simple_coder.c --- a/src/liblzma/simple/simple_coder.c +++ b/src/liblzma/simple/simple_coder.c @@ -6,17 +6,10 @@ /// Simple filters don't change the size of the data i.e. number of bytes /// in equals the number of bytes out. // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/simple/simple_coder.h b/src/liblzma/simple/simple_coder.h --- a/src/liblzma/simple/simple_coder.h +++ b/src/liblzma/simple/simple_coder.h @@ -3,18 +3,10 @@ /// \file simple_coder.h /// \brief Wrapper for simple filters // -// -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/simple/simple_decoder.c b/src/liblzma/simple/simple_decoder.c --- a/src/liblzma/simple/simple_decoder.c +++ b/src/liblzma/simple/simple_decoder.c @@ -3,17 +3,10 @@ /// \file simple_decoder.c /// \brief Properties decoder for simple filters // -// Copyright (C) 2007-2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/simple/simple_decoder.h b/src/liblzma/simple/simple_decoder.h --- a/src/liblzma/simple/simple_decoder.h +++ b/src/liblzma/simple/simple_decoder.h @@ -3,17 +3,10 @@ /// \file simple_decoder.h /// \brief Properties decoder for simple filters // -// Copyright (C) 2007-2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/simple/simple_encoder.c b/src/liblzma/simple/simple_encoder.c --- a/src/liblzma/simple/simple_encoder.c +++ b/src/liblzma/simple/simple_encoder.c @@ -3,17 +3,10 @@ /// \file simple_encoder.c /// \brief Properties encoder for simple filters // -// Copyright (C) 2007-2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/simple/simple_encoder.h b/src/liblzma/simple/simple_encoder.h --- a/src/liblzma/simple/simple_encoder.h +++ b/src/liblzma/simple/simple_encoder.h @@ -3,17 +3,10 @@ /// \file simple_encoder.c /// \brief Properties encoder for simple filters // -// Copyright (C) 2007-2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/simple/simple_private.h b/src/liblzma/simple/simple_private.h --- a/src/liblzma/simple/simple_private.h +++ b/src/liblzma/simple/simple_private.h @@ -3,17 +3,10 @@ /// \file simple_private.h /// \brief Private definitions for so called simple filters // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/simple/sparc.c b/src/liblzma/simple/sparc.c --- a/src/liblzma/simple/sparc.c +++ b/src/liblzma/simple/sparc.c @@ -2,19 +2,12 @@ // /// \file sparc.c /// \brief Filter for SPARC binaries -// -// Copyright (C) 1999-2006 Igor Pavlov -// Copyright (C) 2007 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/simple/x86.c b/src/liblzma/simple/x86.c --- a/src/liblzma/simple/x86.c +++ b/src/liblzma/simple/x86.c @@ -2,19 +2,12 @@ // /// \file x86.c /// \brief Filter for x86 binaries (BCJ filter) -// -// Copyright (C) 1999-2006 Igor Pavlov -// Copyright (C) 2007 Lasse Collin +/// +// Authors: Igor Pavlov +// Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/subblock/Makefile.am b/src/liblzma/subblock/Makefile.am --- a/src/liblzma/subblock/Makefile.am +++ b/src/liblzma/subblock/Makefile.am @@ -1,15 +1,8 @@ ## -## Copyright (C) 2007 Lasse Collin +## Author: Lasse Collin ## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. +## This file has been put into the public domain. +## You can do whatever you want with this file. ## noinst_LTLIBRARIES = libsubblock.la diff --git a/src/liblzma/subblock/subblock_decoder.c b/src/liblzma/subblock/subblock_decoder.c --- a/src/liblzma/subblock/subblock_decoder.c +++ b/src/liblzma/subblock/subblock_decoder.c @@ -3,17 +3,10 @@ /// \file subblock_decoder.c /// \brief Decoder of the Subblock filter // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/subblock/subblock_decoder.h b/src/liblzma/subblock/subblock_decoder.h --- a/src/liblzma/subblock/subblock_decoder.h +++ b/src/liblzma/subblock/subblock_decoder.h @@ -3,17 +3,10 @@ /// \file subblock_decoder.h /// \brief Decoder of the Subblock filter // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/subblock/subblock_decoder_helper.c b/src/liblzma/subblock/subblock_decoder_helper.c --- a/src/liblzma/subblock/subblock_decoder_helper.c +++ b/src/liblzma/subblock/subblock_decoder_helper.c @@ -5,17 +5,10 @@ /// /// This filter is used to indicate End of Input for subfilters needing it. // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/subblock/subblock_decoder_helper.h b/src/liblzma/subblock/subblock_decoder_helper.h --- a/src/liblzma/subblock/subblock_decoder_helper.h +++ b/src/liblzma/subblock/subblock_decoder_helper.h @@ -5,17 +5,10 @@ /// /// This filter is used to indicate End of Input for subfilters needing it. // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/subblock/subblock_encoder.c b/src/liblzma/subblock/subblock_encoder.c --- a/src/liblzma/subblock/subblock_encoder.c +++ b/src/liblzma/subblock/subblock_encoder.c @@ -3,17 +3,10 @@ /// \file subblock_encoder.c /// \brief Encoder of the Subblock filter // -// Copyright (C) 2007, 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/liblzma/subblock/subblock_encoder.h b/src/liblzma/subblock/subblock_encoder.h --- a/src/liblzma/subblock/subblock_encoder.h +++ b/src/liblzma/subblock/subblock_encoder.h @@ -3,17 +3,10 @@ /// \file subblock_encoder.h /// \brief Encoder of the Subblock filter // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/scripts/Makefile.am b/src/scripts/Makefile.am --- a/src/scripts/Makefile.am +++ b/src/scripts/Makefile.am @@ -1,3 +1,10 @@ +## +## Author: Lasse Collin +## +## This file has been put into the public domain. +## You can do whatever you want with this file. +## + dist_bin_SCRIPTS = lzdiff lzgrep lzmore dist_man_MANS = lzdiff.1 lzgrep.1 lzmore.1 diff --git a/src/xz/Makefile.am b/src/xz/Makefile.am --- a/src/xz/Makefile.am +++ b/src/xz/Makefile.am @@ -1,15 +1,8 @@ ## -## Copyright (C) 2007 Lasse Collin +## Author: Lasse Collin ## -## This program is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. +## This file has been put into the public domain. +## You can do whatever you want with this file. ## bin_PROGRAMS = xz diff --git a/src/xz/args.c b/src/xz/args.c --- a/src/xz/args.c +++ b/src/xz/args.c @@ -5,17 +5,10 @@ /// /// \note Filter-specific options parsing is in options.c. // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/args.h b/src/xz/args.h --- a/src/xz/args.h +++ b/src/xz/args.h @@ -3,17 +3,10 @@ /// \file args.h /// \brief Argument parsing // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/hardware.c b/src/xz/hardware.c --- a/src/xz/hardware.c +++ b/src/xz/hardware.c @@ -3,17 +3,10 @@ /// \file hardware.c /// \brief Detection of available hardware resources // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/hardware.h b/src/xz/hardware.h --- a/src/xz/hardware.h +++ b/src/xz/hardware.h @@ -3,17 +3,10 @@ /// \file hardware.h /// \brief Detection of available hardware resources // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/io.c b/src/xz/io.c --- a/src/xz/io.c +++ b/src/xz/io.c @@ -3,17 +3,10 @@ /// \file io.c /// \brief File opening, unlinking, and closing // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/io.h b/src/xz/io.h --- a/src/xz/io.h +++ b/src/xz/io.h @@ -3,17 +3,10 @@ /// \file io.h /// \brief I/O types and functions // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/list.c b/src/xz/list.c --- a/src/xz/list.c +++ b/src/xz/list.c @@ -3,17 +3,10 @@ /// \file list.c /// \brief Listing information about .lzma files // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/main.c b/src/xz/main.c --- a/src/xz/main.c +++ b/src/xz/main.c @@ -3,17 +3,10 @@ /// \file main.c /// \brief main() // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/main.h b/src/xz/main.h --- a/src/xz/main.h +++ b/src/xz/main.h @@ -3,17 +3,10 @@ /// \file main.h /// \brief Miscellanous declarations // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/message.c b/src/xz/message.c --- a/src/xz/message.c +++ b/src/xz/message.c @@ -3,17 +3,10 @@ /// \file message.c /// \brief Printing messages to stderr // -// Copyright (C) 2007-2008 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/message.h b/src/xz/message.h --- a/src/xz/message.h +++ b/src/xz/message.h @@ -3,17 +3,10 @@ /// \file message.h /// \brief Printing messages to stderr // -// Copyright (C) 2007-2008 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/options.c b/src/xz/options.c --- a/src/xz/options.c +++ b/src/xz/options.c @@ -3,17 +3,10 @@ /// \file options.c /// \brief Parser for filter-specific options // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/options.h b/src/xz/options.h --- a/src/xz/options.h +++ b/src/xz/options.h @@ -3,17 +3,10 @@ /// \file options.h /// \brief Parser for filter-specific options // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/private.h b/src/xz/private.h --- a/src/xz/private.h +++ b/src/xz/private.h @@ -3,17 +3,10 @@ /// \file private.h /// \brief Common includes, definions, and prototypes // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/process.c b/src/xz/process.c --- a/src/xz/process.c +++ b/src/xz/process.c @@ -3,17 +3,10 @@ /// \file process.c /// \brief Compresses or uncompresses a file // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/process.h b/src/xz/process.h --- a/src/xz/process.h +++ b/src/xz/process.h @@ -3,17 +3,10 @@ /// \file process.h /// \brief Compresses or uncompresses a file // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/signals.c b/src/xz/signals.c --- a/src/xz/signals.c +++ b/src/xz/signals.c @@ -3,17 +3,10 @@ /// \file signals.c /// \brief Handling signals to abort operation // -// Copyright (C) 2007-2009 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/signals.h b/src/xz/signals.h --- a/src/xz/signals.h +++ b/src/xz/signals.h @@ -3,17 +3,10 @@ /// \file signals.h /// \brief Handling signals to abort operation // -// Copyright (C) 2007-2009 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/suffix.c b/src/xz/suffix.c --- a/src/xz/suffix.c +++ b/src/xz/suffix.c @@ -3,17 +3,10 @@ /// \file suffix.c /// \brief Checks filename suffix and creates the destination filename // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/suffix.h b/src/xz/suffix.h --- a/src/xz/suffix.h +++ b/src/xz/suffix.h @@ -3,17 +3,10 @@ /// \file suffix.h /// \brief Checks filename suffix and creates the destination filename // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/util.c b/src/xz/util.c --- a/src/xz/util.c +++ b/src/xz/util.c @@ -3,17 +3,10 @@ /// \file util.c /// \brief Miscellaneous utility functions // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xz/util.h b/src/xz/util.h --- a/src/xz/util.h +++ b/src/xz/util.h @@ -3,17 +3,10 @@ /// \file util.h /// \brief Miscellaneous utility functions // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/src/xzdec/Makefile.am b/src/xzdec/Makefile.am --- a/src/xzdec/Makefile.am +++ b/src/xzdec/Makefile.am @@ -1,15 +1,8 @@ ## -## Copyright (C) 2007 Lasse Collin +## Author: Lasse Collin ## -## This program is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. +## This file has been put into the public domain. +## You can do whatever you want with this file. ## bin_PROGRAMS = xzdec lzmadec diff --git a/src/xzdec/xzdec.c b/src/xzdec/xzdec.c --- a/src/xzdec/xzdec.c +++ b/src/xzdec/xzdec.c @@ -3,17 +3,10 @@ /// \file xzdec.c /// \brief Simple single-threaded tool to uncompress .xz or .lzma files // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/tests/Makefile.am b/tests/Makefile.am --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,15 +1,8 @@ ## -## Copyright (C) 2007 Lasse Collin +## Author: Lasse Collin ## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. +## This file has been put into the public domain. +## You can do whatever you want with this file. ## EXTRA_DIST = \ diff --git a/tests/bcj_test.c b/tests/bcj_test.c --- a/tests/bcj_test.c +++ b/tests/bcj_test.c @@ -11,11 +11,10 @@ /// Compiling: gcc -std=c99 -fPIC -c bcj_test.c /// Don't optimize or strip. // -// This code has been put into the public domain. +// Author: Lasse Collin // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/tests/create_compress_files.c b/tests/create_compress_files.c --- a/tests/create_compress_files.c +++ b/tests/create_compress_files.c @@ -6,17 +6,10 @@ /// Using a test file generator program saves space in the source code /// package considerably. // -// Copyright (C) 2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/tests/test_block.c b/tests/test_block.c --- a/tests/test_block.c +++ b/tests/test_block.c @@ -3,17 +3,10 @@ /// \file test_block.c /// \brief Tests Block coders // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/tests/test_block_header.c b/tests/test_block_header.c --- a/tests/test_block_header.c +++ b/tests/test_block_header.c @@ -3,17 +3,10 @@ /// \file test_block_header.c /// \brief Tests Block Header coders // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/tests/test_check.c b/tests/test_check.c --- a/tests/test_check.c +++ b/tests/test_check.c @@ -5,17 +5,10 @@ /// /// \todo Add SHA256 // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/tests/test_compress.sh b/tests/test_compress.sh --- a/tests/test_compress.sh +++ b/tests/test_compress.sh @@ -2,17 +2,10 @@ ############################################################################### # -# Copyright (C) 2008 Lasse Collin +# Author: Lasse Collin # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. +# This file has been put into the public domain. +# You can do whatever you want with this file. # ############################################################################### diff --git a/tests/test_files.sh b/tests/test_files.sh --- a/tests/test_files.sh +++ b/tests/test_files.sh @@ -2,17 +2,10 @@ ############################################################################### # -# Copyright (C) 2008 Lasse Collin +# Author: Lasse Collin # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. +# This file has been put into the public domain. +# You can do whatever you want with this file. # ############################################################################### diff --git a/tests/test_filter_flags.c b/tests/test_filter_flags.c --- a/tests/test_filter_flags.c +++ b/tests/test_filter_flags.c @@ -3,17 +3,10 @@ /// \file test_filter_flags.c /// \brief Tests Filter Flags coders // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/tests/test_index.c b/tests/test_index.c --- a/tests/test_index.c +++ b/tests/test_index.c @@ -3,17 +3,10 @@ /// \file test_index.c /// \brief Tests functions handling the lzma_index structure // -// Copyright (C) 2007-2008 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/tests/test_stream_flags.c b/tests/test_stream_flags.c --- a/tests/test_stream_flags.c +++ b/tests/test_stream_flags.c @@ -3,17 +3,10 @@ /// \file test_stream_flags.c /// \brief Tests Stream Header and Stream Footer coders // -// Copyright (C) 2007 Lasse Collin +// Author: Lasse Collin // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License, or (at your option) any later version. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/tests/tests.h b/tests/tests.h --- a/tests/tests.h +++ b/tests/tests.h @@ -3,17 +3,10 @@ /// \file tests.h /// \brief Common definitions for test applications // -// Copyright (C) 2006 Lasse Collin +// Author: Lasse Collin // -// This program is free software; you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. +// This file has been put into the public domain. +// You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// diff --git a/windows/common.rc b/windows/common.rc --- a/windows/common.rc +++ b/windows/common.rc @@ -11,7 +11,7 @@ #define MY_FILENAME MY_NAME MY_SUFFIX #define MY_COMPANY "Lasse Collin and Igor Pavlov" -#define MY_COPYRIGHT "Copyright by " MY_COMPANY +#define MY_COPYRIGHT "Public Domain by " MY_COMPANY #define MY_COMMENTS "http://tukaani.org/xz/" LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US