commit cc5d6ddf537eec7fdb9c78ed1f12af3c60291f7a parent 2ed36967be92d934eb79de44039b071883d16809 Author: vaplv <vaplv@free.fr> Date: Sun, 26 Jun 2022 20:40:32 +0200 Merge remote-tracking branch 'origin/develop' into feature_posix_make Diffstat:
124 files changed, 524 insertions(+), 664 deletions(-)
diff --git a/COPYING.LESSER b/COPYING.LESSER @@ -1,165 +0,0 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - - This version of the GNU Lesser General Public License incorporates -the terms and conditions of version 3 of the GNU General Public -License, supplemented by the additional permissions listed below. - - 0. Additional Definitions. - - As used herein, "this License" refers to version 3 of the GNU Lesser -General Public License, and the "GNU GPL" refers to version 3 of the GNU -General Public License. - - "The Library" refers to a covered work governed by this License, -other than an Application or a Combined Work as defined below. - - An "Application" is any work that makes use of an interface provided -by the Library, but which is not otherwise based on the Library. -Defining a subclass of a class defined by the Library is deemed a mode -of using an interface provided by the Library. - - A "Combined Work" is a work produced by combining or linking an -Application with the Library. The particular version of the Library -with which the Combined Work was made is also called the "Linked -Version". - - The "Minimal Corresponding Source" for a Combined Work means the -Corresponding Source for the Combined Work, excluding any source code -for portions of the Combined Work that, considered in isolation, are -based on the Application, and not on the Linked Version. - - The "Corresponding Application Code" for a Combined Work means the -object code and/or source code for the Application, including any data -and utility programs needed for reproducing the Combined Work from the -Application, but excluding the System Libraries of the Combined Work. - - 1. Exception to Section 3 of the GNU GPL. - - You may convey a covered work under sections 3 and 4 of this License -without being bound by section 3 of the GNU GPL. - - 2. Conveying Modified Versions. - - If you modify a copy of the Library, and, in your modifications, a -facility refers to a function or data to be supplied by an Application -that uses the facility (other than as an argument passed when the -facility is invoked), then you may convey a copy of the modified -version: - - a) under this License, provided that you make a good faith effort to - ensure that, in the event an Application does not supply the - function or data, the facility still operates, and performs - whatever part of its purpose remains meaningful, or - - b) under the GNU GPL, with none of the additional permissions of - this License applicable to that copy. - - 3. Object Code Incorporating Material from Library Header Files. - - The object code form of an Application may incorporate material from -a header file that is part of the Library. You may convey such object -code under terms of your choice, provided that, if the incorporated -material is not limited to numerical parameters, data structure -layouts and accessors, or small macros, inline functions and templates -(ten or fewer lines in length), you do both of the following: - - a) Give prominent notice with each copy of the object code that the - Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the object code with a copy of the GNU GPL and this license - document. - - 4. Combined Works. - - You may convey a Combined Work under terms of your choice that, -taken together, effectively do not restrict modification of the -portions of the Library contained in the Combined Work and reverse -engineering for debugging such modifications, if you also do each of -the following: - - a) Give prominent notice with each copy of the Combined Work that - the Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the Combined Work with a copy of the GNU GPL and this license - document. - - c) For a Combined Work that displays copyright notices during - execution, include the copyright notice for the Library among - these notices, as well as a reference directing the user to the - copies of the GNU GPL and this license document. - - d) Do one of the following: - - 0) Convey the Minimal Corresponding Source under the terms of this - License, and the Corresponding Application Code in a form - suitable for, and under terms that permit, the user to - recombine or relink the Application with a modified version of - the Linked Version to produce a modified Combined Work, in the - manner specified by section 6 of the GNU GPL for conveying - Corresponding Source. - - 1) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (a) uses at run time - a copy of the Library already present on the user's computer - system, and (b) will operate properly with a modified version - of the Library that is interface-compatible with the Linked - Version. - - e) Provide Installation Information, but only if you would otherwise - be required to provide such information under section 6 of the - GNU GPL, and only to the extent that such information is - necessary to install and execute a modified version of the - Combined Work produced by recombining or relinking the - Application with a modified version of the Linked Version. (If - you use option 4d0, the Installation Information must accompany - the Minimal Corresponding Source and Corresponding Application - Code. If you use option 4d1, you must provide the Installation - Information in the manner specified by section 6 of the GNU GPL - for conveying Corresponding Source.) - - 5. Combined Libraries. - - You may place library facilities that are a work based on the -Library side by side in a single library together with other library -facilities that are not Applications and are not covered by this -License, and convey such a combined library under terms of your -choice, if you do both of the following: - - a) Accompany the combined library with a copy of the same work based - on the Library, uncombined with any other library facilities, - conveyed under the terms of this License. - - b) Give prominent notice with the combined library that part of it - is a work based on the Library, and explaining where to find the - accompanying uncombined form of the same work. - - 6. Revised Versions of the GNU Lesser General Public License. - - The Free Software Foundation may publish revised and/or new versions -of the GNU Lesser General Public License from time to time. Such new -versions will be similar in spirit to the present version, but may -differ in detail to address new problems or concerns. - - Each version is given a distinguishing version number. If the -Library as you received it specifies that a certain numbered version -of the GNU Lesser General Public License "or any later version" -applies to it, you have the option of following the terms and -conditions either of that published version or of any later version -published by the Free Software Foundation. If the Library as you -received it does not specify a version number of the GNU Lesser -General Public License, you may choose any version of the GNU Lesser -General Public License ever published by the Free Software Foundation. - - If the Library as you received it specifies that a proxy can decide -whether future versions of the GNU Lesser General Public License shall -apply, that proxy's public statement of acceptance of any version is -permanent authorization for you to choose that version for the -Library. diff --git a/README.md b/README.md @@ -17,6 +17,13 @@ project can be now edited, built, tested and installed as any CMake project. ## Release notes +### Version 0.12.1 + +- Fix compilation warnings with GCC 11. +- Fix the `text_reader` when the comment char is '\0'. +- Flush messages on default logger to force print them. +- License the project under the GPLv3+ license rather than the LGPLv3+ license. + ### Version 0.12 - Add the `cstr_parse_list` function that parses a string as a tuple. The @@ -146,7 +153,8 @@ project can be now edited, built, tested and installed as any CMake project. ## License -Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr). RSys is a free software -released under LGPL v3+ license. You are welcome to redistribute it under -certain conditions; refer to the COPYING files for details. +Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr). RSys free software +released under the GPL v3+ license: GNU GPL version 3 or later. You are welcome +to redistribute it under certain conditions; refer to the COPYING files for +details. diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +# Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) # # This CMake script is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -39,7 +39,7 @@ include(rcmake) ################################################################################ set(VERSION_MAJOR 0) set(VERSION_MINOR 12) -set(VERSION_PATCH 0) +set(VERSION_PATCH 1) set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}) set(RSYS_FILES_SRC @@ -128,7 +128,7 @@ set(RSYS_FILES_INC_API stretchy_array.h text_reader.h) -set(RSYS_FILES_DOC COPYING COPYING.LESSER README.md) +set(RSYS_FILES_DOC COPYING README.md) # Prepend each file in the `_files' list by `_path' rcmake_prepend_path(RSYS_FILES_SRC ${RSYS_SOURCE_DIR}) diff --git a/src/algorithm.h b/src/algorithm.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef ALGORITHM_H diff --git a/src/binary_heap.h b/src/binary_heap.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #if !defined(BHEAP_DATA) && !defined(BHEAP_NAME) diff --git a/src/clock_time.c b/src/clock_time.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #define _POSIX_C_SOURCE 200112L /* snprintf support */ diff --git a/src/clock_time.h b/src/clock_time.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef TIME_H diff --git a/src/condition.h b/src/condition.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef CONDITION_H diff --git a/src/cstr.c b/src/cstr.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #define _POSIX_C_SOURCE 200112L /* strtok_r support */ diff --git a/src/cstr.h b/src/cstr.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef CSTR_H diff --git a/src/cstr_to_list.h b/src/cstr_to_list.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ /* diff --git a/src/double2.h b/src/double2.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DOUBLE2_H diff --git a/src/double22.h b/src/double22.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DOUBLE22_H diff --git a/src/double3.h b/src/double3.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DOUBLE3_H diff --git a/src/double33.h b/src/double33.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DOUBLE33_H diff --git a/src/double4.h b/src/double4.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DOUBLE4_H diff --git a/src/double44.h b/src/double44.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DOUBLE44_H diff --git a/src/dynamic_array.h b/src/dynamic_array.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #if !defined(DARRAY_NAME) && !defined(DARRAY_DATA) diff --git a/src/dynamic_array_char.h b/src/dynamic_array_char.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DYNAMIC_ARRRAY_CHAR_H diff --git a/src/dynamic_array_double.h b/src/dynamic_array_double.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DYNAMIC_ARRRAY_DOUBLE_H diff --git a/src/dynamic_array_float.h b/src/dynamic_array_float.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DYNAMIC_ARRRAY_FLOAT_H diff --git a/src/dynamic_array_int.h b/src/dynamic_array_int.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DYNAMIC_ARRRAY_INT_H diff --git a/src/dynamic_array_size_t.h b/src/dynamic_array_size_t.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DYNAMIC_ARRRAY_SIZE_T_H diff --git a/src/dynamic_array_str.h b/src/dynamic_array_str.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DYNAMIC_ARRAY_STR_H diff --git a/src/dynamic_array_u32.h b/src/dynamic_array_u32.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DYNAMIC_ARRRAY_U32_H diff --git a/src/dynamic_array_u64.h b/src/dynamic_array_u64.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DYNAMIC_ARRRAY_U64_H diff --git a/src/dynamic_array_uchar.h b/src/dynamic_array_uchar.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DYNAMIC_ARRRAY_UCHAR_H diff --git a/src/dynamic_array_uint.h b/src/dynamic_array_uint.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef DYNAMIC_ARRRAY_UINT_H diff --git a/src/endianness.h b/src/endianness.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef ENDIANNESS_H diff --git a/src/float2.h b/src/float2.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef FLOAT2_H diff --git a/src/float22.h b/src/float22.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef FLOAT22_H diff --git a/src/float3.h b/src/float3.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef FLOAT3_H diff --git a/src/float33.h b/src/float33.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef FLOAT33_H diff --git a/src/float4.h b/src/float4.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef FLOAT4_H diff --git a/src/float44.h b/src/float44.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef FLOAT44_H diff --git a/src/free_list.h b/src/free_list.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef FITEM_TYPE diff --git a/src/hash.c b/src/hash.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #define _POSIX_C_SOURCE 200112L diff --git a/src/hash.h b/src/hash.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef HASH_H diff --git a/src/hash_table.h b/src/hash_table.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #if !defined(HTABLE_NAME) && !defined(HTABLE_KEY) && !defined(HTABLE_DATA) diff --git a/src/image.c b/src/image.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #define _POSIX_C_SOURCE 200112L /* snprintf support */ diff --git a/src/image.h b/src/image.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef IMAGE_H diff --git a/src/io_c99.h b/src/io_c99.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef IO_C99_H diff --git a/src/library.c b/src/library.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "library.h" diff --git a/src/library.h b/src/library.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef LIBRARY_H diff --git a/src/list.h b/src/list.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef LIST_H diff --git a/src/logger.c b/src/logger.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #define _POSIX_C_SOURCE 200112L /* vsnprintf support */ @@ -42,7 +42,9 @@ logger_vprint ASSERT(logger && log && (unsigned)type < LOG_TYPES_COUNT__); if(logger == LOGGER_DEFAULT) { - vfprintf(type == LOG_OUTPUT ? stdout : stderr, log, vargs_list); + FILE* stream = LOG_OUTPUT ? stdout : stderr; + vfprintf(stream, log, vargs_list); + fflush(stream); return RES_OK; } diff --git a/src/logger.h b/src/logger.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef LOGGER_H diff --git a/src/math.h b/src/math.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef MATH_H diff --git a/src/mem_allocator.c b/src/mem_allocator.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #define _POSIX_C_SOURCE 200112L /* snprintf support */ diff --git a/src/mem_allocator.h b/src/mem_allocator.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef MEM_ALLOCATOR_H diff --git a/src/mem_lifo_allocator.c b/src/mem_lifo_allocator.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #define _POSIX_C_SOURCE 200112L /* snprintf support */ diff --git a/src/mem_proxy_allocator.c b/src/mem_proxy_allocator.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #define _POSIX_C_SOURCE 200112L /* snprintf support */ diff --git a/src/morton.h b/src/morton.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef MORTON_H diff --git a/src/mutex.h b/src/mutex.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef MUTEX_H diff --git a/src/pthread/pthread_condition.c b/src/pthread/pthread_condition.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "../condition.h" diff --git a/src/pthread/pthread_mutex.c b/src/pthread/pthread_mutex.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #define _POSIX_C_SOURCE 200112L /* Spin lock and mutex rw */ diff --git a/src/quaternion.c b/src/quaternion.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "quaternion.h" diff --git a/src/quaternion.h b/src/quaternion.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef QUATERNION_H diff --git a/src/real2.h b/src/real2.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef REAL_TYPE__ diff --git a/src/real22.h b/src/real22.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef REAL_TYPE__ diff --git a/src/real3.h b/src/real3.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef REAL_TYPE__ diff --git a/src/real33.h b/src/real33.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef REAL_TYPE__ diff --git a/src/real44.h b/src/real44.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "rsys.h" diff --git a/src/realX.h b/src/realX.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ /* diff --git a/src/realXY.h b/src/realXY.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ /* diff --git a/src/realXY_begin.h b/src/realXY_begin.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ /* This file can be included once */ diff --git a/src/realXY_end.h b/src/realXY_end.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef REALXY_BEGIN_H diff --git a/src/realX_begin.h b/src/realX_begin.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ /* This file can be included once */ diff --git a/src/realX_end.h b/src/realX_end.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef REALX_BEGIN_H diff --git a/src/ref_count.h b/src/ref_count.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef REF_COUNT_H diff --git a/src/rsys.h b/src/rsys.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef RSYS_H diff --git a/src/signal.h b/src/signal.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef SIGNAL_H diff --git a/src/str.c b/src/str.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #define _POSIX_C_SOURCE 200112L /* vsnprintf support */ diff --git a/src/str.h b/src/str.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef STR_H diff --git a/src/stretchy_array.h b/src/stretchy_array.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef STRETCHY_ARRAY_H diff --git a/src/test_algorithm.c b/src/test_algorithm.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "algorithm.h" diff --git a/src/test_atomic.c b/src/test_atomic.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "rsys.h" diff --git a/src/test_binary_heap.c b/src/test_binary_heap.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "binary_heap.h" diff --git a/src/test_condition.c b/src/test_condition.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "condition.h" diff --git a/src/test_cstr.c b/src/test_cstr.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #define _POSIX_C_SOURCE 200112L /* strtok_r support */ diff --git a/src/test_double2.c b/src/test_double2.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "double2.h" diff --git a/src/test_double22.c b/src/test_double22.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "double22.h" diff --git a/src/test_double3.c b/src/test_double3.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "double3.h" diff --git a/src/test_double33.c b/src/test_double33.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "double33.h" diff --git a/src/test_double4.c b/src/test_double4.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "double4.h" diff --git a/src/test_double44.c b/src/test_double44.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "double44.h" diff --git a/src/test_dynamic_array.c b/src/test_dynamic_array.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "dynamic_array.h" diff --git a/src/test_endianness.c b/src/test_endianness.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "endianness.h" diff --git a/src/test_float2.c b/src/test_float2.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "float2.h" diff --git a/src/test_float22.c b/src/test_float22.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "float22.h" diff --git a/src/test_float3.c b/src/test_float3.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "float3.h" diff --git a/src/test_float33.c b/src/test_float33.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "float33.h" diff --git a/src/test_float4.c b/src/test_float4.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "float4.h" diff --git a/src/test_float44.c b/src/test_float44.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "float44.h" diff --git a/src/test_free_list.c b/src/test_free_list.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "rsys.h" diff --git a/src/test_func_name.c b/src/test_func_name.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "rsys.h" diff --git a/src/test_hash_sha256.c b/src/test_hash_sha256.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "endianness.h" diff --git a/src/test_hash_table.c b/src/test_hash_table.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "dynamic_array_char.h" diff --git a/src/test_image.c b/src/test_image.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "image.h" diff --git a/src/test_library.c b/src/test_library.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifdef TEST_LIBRARY_BUILD_LIB diff --git a/src/test_list.c b/src/test_list.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "list.h" diff --git a/src/test_logger.c b/src/test_logger.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "logger.h" diff --git a/src/test_math.c b/src/test_math.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "math.h" diff --git a/src/test_mem_allocator.c b/src/test_mem_allocator.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "mem_allocator.h" diff --git a/src/test_misc.c b/src/test_misc.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "rsys.h" diff --git a/src/test_morton.c b/src/test_morton.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "math.h" diff --git a/src/test_mutex.c b/src/test_mutex.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "clock_time.h" diff --git a/src/test_quaternion.c b/src/test_quaternion.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "quaternion.h" diff --git a/src/test_real2.h b/src/test_real2.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "rsys.h" diff --git a/src/test_real22.h b/src/test_real22.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "rsys.h" diff --git a/src/test_real3.h b/src/test_real3.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "rsys.h" diff --git a/src/test_real33.h b/src/test_real33.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "rsys.h" diff --git a/src/test_real4.h b/src/test_real4.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "rsys.h" diff --git a/src/test_real44.h b/src/test_real44.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "rsys.h" diff --git a/src/test_ref.c b/src/test_ref.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "ref_count.h" diff --git a/src/test_signal.c b/src/test_signal.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "mem_allocator.h" diff --git a/src/test_str.c b/src/test_str.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "str.h" @@ -183,14 +183,14 @@ main(int argc, char** argv) CHK(str_append_printf(&str, ":%s", __FILE__) == RES_OK); CHK(!strcmp(str_cget(&str), __FILE__":3737844653:"__FILE__)); chk_vprintf(&str, "You should have received a copy of the %s %s %d", - "GNU", "Lesser General Public License", 3); + "GNU", "General Public License", 3); CHK(!strcmp(str_cget(&str), "You should have received a copy of the " - "GNU Lesser General Public License 3")); + "GNU General Public License 3")); chk_append_vprintf(&str, " along with the %s library. If not, see %c%s%c.", "RSys", '<', "http://www.gnu.org/licenses/", '>'); CHK(!strcmp(str_cget(&str), - "You should have received a copy of the GNU Lesser General Public License 3 " + "You should have received a copy of the GNU General Public License 3 " "along with the RSys library. If not, see <http://www.gnu.org/licenses/>.")); str_release(&str); diff --git a/src/test_text_reader.c b/src/test_text_reader.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "mem_allocator.h" @@ -121,6 +121,21 @@ main(int argc, char** argv) CHK(txtrdr_get_line(txtrdr) == NULL); txtrdr_ref_put(txtrdr); + stream = freopen(filename, "w+", stream); + CHK(stream); + fprintf(stream, " AAAA\nbbb\n"); + rewind(stream); + CHK(txtrdr_stream(&allocator, stream, stream_name, 0, &txtrdr) == RES_OK); + CHK(txtrdr_read_line(txtrdr) == RES_OK); + CHK(txtrdr_get_line(txtrdr) != NULL); + CHK(!strcmp(txtrdr_get_line(txtrdr), " AAAA")); + CHK(txtrdr_read_line(txtrdr) == RES_OK); + CHK(txtrdr_get_line(txtrdr) != NULL); + CHK(!strcmp(txtrdr_get_line(txtrdr), "bbb")); + CHK(txtrdr_read_line(txtrdr) == RES_OK); + CHK(txtrdr_get_line(txtrdr) == NULL); + txtrdr_ref_put(txtrdr); + fclose(stream); check_memory_allocator(&allocator); mem_shutdown_proxy_allocator(&allocator); diff --git a/src/test_time.c b/src/test_time.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "clock_time.h" diff --git a/src/test_vmacros.c b/src/test_vmacros.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "rsys.h" diff --git a/src/text_reader.c b/src/text_reader.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "dynamic_array_char.h" @@ -83,9 +83,9 @@ txtrdr_stream txtrdr->allocator = allocator; txtrdr->stream = stream; txtrdr->nlines = 0; - txtrdr->reject[0] = comment; - txtrdr->reject[1] = '\n'; - txtrdr->reject[2] = '\r'; + txtrdr->reject[0] = '\n'; + txtrdr->reject[1] = '\r'; + txtrdr->reject[2] = comment; txtrdr->reject[3] = '\0'; /* Finalize the string */ res = str_set(&txtrdr->name, name ? name : "<null>"); diff --git a/src/text_reader.h b/src/text_reader.h @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #ifndef TEXT_READER_H @@ -27,7 +27,7 @@ RSYS_API res_T txtrdr_file (struct mem_allocator* allocator, /* May be NULL <=> default allocator */ const char* filename, - const char comment, /* Char preceeding a comment */ + const char comment, /* Char preceeding a comment. 0 <=> no comment char */ struct txtrdr** txtrdr); RSYS_API res_T @@ -35,7 +35,7 @@ txtrdr_stream (struct mem_allocator* allocator, /* May be NULL <=> default allocator */ FILE* stream, const char* name, /* Stream name. May be NULL */ - const char comment, /* Char preceeding a comment */ + const char comment, /* Char preceeding a comment. 0 <=> no comment char */ struct txtrdr** txtrdr); RSYS_API void diff --git a/src/win32/win32_condition.c b/src/win32/win32_condition.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "../condition.h" diff --git a/src/win32/win32_mutex.c b/src/win32/win32_mutex.c @@ -1,16 +1,16 @@ -/* Copyright (C) 2013-2021 Vincent Forest (vaplv@free.fr) +/* Copyright (C) 2013-2022 Vincent Forest (vaplv@free.fr) * * The RSys library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published + * it under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The RSys 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. + * GNU General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public License + * You should have received a copy of the GNU General Public License * along with the RSys library. If not, see <http://www.gnu.org/licenses/>. */ #include "../mem_allocator.h"