| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | # Copyright (C) The c-ares project and its contributors | |
| 2 | 2 | # SPDX-License-Identifier: MIT | |
| 3 | - CMAKE_MINIMUM_REQUIRED (VERSION 3.5.0) | ||
| 3 | + CMAKE_MINIMUM_REQUIRED (VERSION 3.5.0...3.10.0) | ||
| 4 | 4 | ||
| 5 | 5 | list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/") | |
| 6 | 6 | ||
@@ -12,7 +12,7 @@ INCLUDE (CheckCSourceCompiles) | |||
| 12 | 12 | INCLUDE (CheckStructHasMember) | |
| 13 | 13 | INCLUDE (CheckLibraryExists) | |
| 14 | 14 | ||
| 15 | - PROJECT (c-ares LANGUAGES C VERSION "1.34.3" ) | ||
| 15 | + PROJECT (c-ares LANGUAGES C VERSION "1.34.4" ) | ||
| 16 | 16 | ||
| 17 | 17 | # Set this version before release | |
| 18 | 18 | SET (CARES_VERSION "${PROJECT_VERSION}") | |
@@ -30,7 +30,7 @@ INCLUDE (GNUInstallDirs) # include this *AFTER* PROJECT(), otherwise paths are w | |||
| 30 | 30 | # For example, a version of 4:0:2 would generate output such as: | |
| 31 | 31 | # libname.so -> libname.so.2 | |
| 32 | 32 | # libname.so.2 -> libname.so.2.2.0 | |
| 33 | - SET (CARES_LIB_VERSIONINFO "21:2:19") | ||
| 33 | + SET (CARES_LIB_VERSIONINFO "21:3:19") | ||
| 34 | 34 | ||
| 35 | 35 | ||
| 36 | 36 | OPTION (CARES_STATIC "Build as a static library" OFF) | |
@@ -271,6 +271,8 @@ ELSEIF (CMAKE_SYSTEM_NAME STREQUAL "AIX") | |||
| 271 | 271 | LIST (APPEND SYSFLAGS -D_ALL_SOURCE -D_XOPEN_SOURCE=700 -D_USE_IRS) | |
| 272 | 272 | ELSEIF (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") | |
| 273 | 273 | # Don't define _XOPEN_SOURCE on FreeBSD, it actually reduces visibility instead of increasing it | |
| 274 | + ELSEIF (CMAKE_SYSTEM_NAME STREQUAL "QNX") | ||
| 275 | + LIST (APPEND SYSFLAGS -D_QNX_SOURCE) | ||
| 274 | 276 | ELSEIF (WIN32) | |
| 275 | 277 | LIST (APPEND SYSFLAGS -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_WIN32_WINNT=0x0602) | |
| 276 | 278 | ENDIF () | |
@@ -406,6 +408,7 @@ ENDIF () | |||
| 406 | 408 | ||
| 407 | 409 | CHECK_STRUCT_HAS_MEMBER("struct sockaddr_in6" sin6_scope_id "${CMAKE_EXTRA_INCLUDE_FILES}" HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID LANGUAGE C) | |
| 408 | 410 | ||
| 411 | + CHECK_SYMBOL_EXISTS (strnlen "${CMAKE_EXTRA_INCLUDE_FILES}" HAVE_STRNLEN) | ||
| 409 | 412 | CHECK_SYMBOL_EXISTS (memmem "${CMAKE_EXTRA_INCLUDE_FILES}" HAVE_MEMMEM) | |
| 410 | 413 | CHECK_SYMBOL_EXISTS (closesocket "${CMAKE_EXTRA_INCLUDE_FILES}" HAVE_CLOSESOCKET) | |
| 411 | 414 | CHECK_SYMBOL_EXISTS (CloseSocket "${CMAKE_EXTRA_INCLUDE_FILES}" HAVE_CLOSESOCKET_CAMEL) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,17 +3,24 @@ | |||
| 3 | 3 | # Copyright (C) the Massachusetts Institute of Technology. | |
| 4 | 4 | # Copyright (C) Daniel Stenberg | |
| 5 | 5 | # | |
| 6 | - # Permission to use, copy, modify, and distribute this | ||
| 7 | - # software and its documentation for any purpose and without | ||
| 8 | - # fee is hereby granted, provided that the above copyright | ||
| 9 | - # notice appear in all copies and that both that copyright | ||
| 10 | - # notice and this permission notice appear in supporting | ||
| 11 | - # documentation, and that the name of M.I.T. not be used in | ||
| 12 | - # advertising or publicity pertaining to distribution of the | ||
| 13 | - # software without specific, written prior permission. | ||
| 14 | - # M.I.T. makes no representations about the suitability of | ||
| 15 | - # this software for any purpose. It is provided "as is" | ||
| 16 | - # without express or implied warranty. | ||
| 6 | + # Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| 7 | + # of this software and associated documentation files (the "Software"), to deal | ||
| 8 | + # in the Software without restriction, including without limitation the rights | ||
| 9 | + # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| 10 | + # copies of the Software, and to permit persons to whom the Software is | ||
| 11 | + # furnished to do so, subject to the following conditions: | ||
| 12 | + # | ||
| 13 | + # The above copyright notice and this permission notice (including the next | ||
| 14 | + # paragraph) shall be included in all copies or substantial portions of the | ||
| 15 | + # Software. | ||
| 16 | + # | ||
| 17 | + # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 18 | + # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| 19 | + # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| 20 | + # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| 21 | + # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| 22 | + # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| 23 | + # SOFTWARE. | ||
| 17 | 24 | # | |
| 18 | 25 | # SPDX-License-Identifier: MIT | |
| 19 | 26 | # | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,17 +19,24 @@ | |||
| 19 | 19 | # Copyright (C) the Massachusetts Institute of Technology. | |
| 20 | 20 | # Copyright (C) Daniel Stenberg | |
| 21 | 21 | # | |
| 22 | - # Permission to use, copy, modify, and distribute this | ||
| 23 | - # software and its documentation for any purpose and without | ||
| 24 | - # fee is hereby granted, provided that the above copyright | ||
| 25 | - # notice appear in all copies and that both that copyright | ||
| 26 | - # notice and this permission notice appear in supporting | ||
| 27 | - # documentation, and that the name of M.I.T. not be used in | ||
| 28 | - # advertising or publicity pertaining to distribution of the | ||
| 29 | - # software without specific, written prior permission. | ||
| 30 | - # M.I.T. makes no representations about the suitability of | ||
| 31 | - # this software for any purpose. It is provided "as is" | ||
| 32 | - # without express or implied warranty. | ||
| 22 | + # Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| 23 | + # of this software and associated documentation files (the "Software"), to deal | ||
| 24 | + # in the Software without restriction, including without limitation the rights | ||
| 25 | + # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| 26 | + # copies of the Software, and to permit persons to whom the Software is | ||
| 27 | + # furnished to do so, subject to the following conditions: | ||
| 28 | + # | ||
| 29 | + # The above copyright notice and this permission notice (including the next | ||
| 30 | + # paragraph) shall be included in all copies or substantial portions of the | ||
| 31 | + # Software. | ||
| 32 | + # | ||
| 33 | + # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 34 | + # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| 35 | + # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| 36 | + # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| 37 | + # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| 38 | + # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| 39 | + # SOFTWARE. | ||
| 33 | 40 | # | |
| 34 | 41 | # SPDX-License-Identifier: MIT | |
| 35 | 42 | # | |
@@ -111,7 +118,9 @@ build_triplet = @build@ | |||
| 111 | 118 | host_triplet = @host@ | |
| 112 | 119 | subdir = . | |
| 113 | 120 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
| 114 | - am__aclocal_m4_deps = $(top_srcdir)/m4/ax_ac_append_to_file.m4 \ | ||
| 121 | + am__aclocal_m4_deps = $(top_srcdir)/m4/ares_check_user_namespace.m4 \ | ||
| 122 | + $(top_srcdir)/m4/ares_check_uts_namespace.m4 \ | ||
| 123 | + $(top_srcdir)/m4/ax_ac_append_to_file.m4 \ | ||
| 115 | 124 | $(top_srcdir)/m4/ax_ac_print_to_file.m4 \ | |
| 116 | 125 | $(top_srcdir)/m4/ax_add_am_macro_static.m4 \ | |
| 117 | 126 | $(top_srcdir)/m4/ax_am_macros_static.m4 \ | |
@@ -121,8 +130,6 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_ac_append_to_file.m4 \ | |||
| 121 | 130 | $(top_srcdir)/m4/ax_check_compile_flag.m4 \ | |
| 122 | 131 | $(top_srcdir)/m4/ax_check_gnu_make.m4 \ | |
| 123 | 132 | $(top_srcdir)/m4/ax_check_link_flag.m4 \ | |
| 124 | - $(top_srcdir)/m4/ax_check_user_namespace.m4 \ | ||
| 125 | - $(top_srcdir)/m4/ax_check_uts_namespace.m4 \ | ||
| 126 | 133 | $(top_srcdir)/m4/ax_code_coverage.m4 \ | |
| 127 | 134 | $(top_srcdir)/m4/ax_compiler_vendor.m4 \ | |
| 128 | 135 | $(top_srcdir)/m4/ax_cxx_compile_stdcxx.m4 \ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,17 +1,24 @@ | |||
| 1 | 1 | ||
| 2 | 2 | # Copyright (C) 2009-2013 by Daniel Stenberg | |
| 3 | 3 | # | |
| 4 | - # Permission to use, copy, modify, and distribute this | ||
| 5 | - # software and its documentation for any purpose and without | ||
| 6 | - # fee is hereby granted, provided that the above copyright | ||
| 7 | - # notice appear in all copies and that both that copyright | ||
| 8 | - # notice and this permission notice appear in supporting | ||
| 9 | - # documentation, and that the name of M.I.T. not be used in | ||
| 10 | - # advertising or publicity pertaining to distribution of the | ||
| 11 | - # software without specific, written prior permission. | ||
| 12 | - # M.I.T. makes no representations about the suitability of | ||
| 13 | - # this software for any purpose. It is provided "as is" | ||
| 14 | - # without express or implied warranty. | ||
| 4 | + # Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| 5 | + # of this software and associated documentation files (the "Software"), to deal | ||
| 6 | + # in the Software without restriction, including without limitation the rights | ||
| 7 | + # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| 8 | + # copies of the Software, and to permit persons to whom the Software is | ||
| 9 | + # furnished to do so, subject to the following conditions: | ||
| 10 | + # | ||
| 11 | + # The above copyright notice and this permission notice (including the next | ||
| 12 | + # paragraph) shall be included in all copies or substantial portions of the | ||
| 13 | + # Software. | ||
| 14 | + # | ||
| 15 | + # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 16 | + # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| 17 | + # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| 18 | + # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| 19 | + # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| 20 | + # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| 21 | + # SOFTWARE. | ||
| 15 | 22 | # | |
| 16 | 23 | # SPDX-License-Identifier: MIT | |
| 17 | 24 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,97 +1,25 @@ | |||
| 1 | - ## c-ares version 1.34.3 - November 9 2024 | ||
| 1 | + ## c-ares version 1.34.4 - December 14 2024 | ||
| 2 | 2 | ||
| 3 | 3 | This is a bugfix release. | |
| 4 | 4 | ||
| 5 | 5 | Changes: | |
| 6 | - * Build the release package in an automated way so we can provide | ||
| 7 | - provenance as per [SLSA3](https://slsa.dev/). | ||
| 8 | - [PR #906](https://github.com/c-ares/c-ares/pull/906) | ||
| 6 | + * QNX Port: Port to QNX 8, add primary config reading support, add CI build. [PR #934](https://github.com/c-ares/c-ares/pull/934), [PR #937](https://github.com/c-ares/c-ares/pull/937), [PR #938](https://github.com/c-ares/c-ares/pull/938) | ||
| 9 | 7 | ||
| 10 | 8 | Bugfixes: | |
| 11 | - * Some upstream servers are non-compliant with EDNS options, resend queries | ||
| 12 | - without EDNS. [Issue #911](https://github.com/c-ares/c-ares/issues/911) | ||
| 13 | - * Android: <=7 needs sys/system_properties.h | ||
| 14 | - [a70637c](https://github.com/c-ares/c-ares/commit/a70637c) | ||
| 15 | - * Android: CMake needs `-D_GNU_SOURCE` and others. | ||
| 16 | - [PR #915](https://github.com/c-ares/c-ares/pull/914) | ||
| 17 | - * TSAN warns on missing lock, but lock isn't actually necessary. | ||
| 18 | - [PR #915](https://github.com/c-ares/c-ares/pull/915) | ||
| 19 | - * `ares_getaddrinfo()` for `AF_UNSPEC` should retry IPv4 if only IPv6 is | ||
| 20 | - received. [765d558](https://github.com/c-ares/c-ares/commit/765d558) | ||
| 21 | - * `ares_send()` shouldn't return `ARES_EBADRESP`, its `ARES_EBADQUERY`. | ||
| 22 | - [91519e7](https://github.com/c-ares/c-ares/commit/91519e7) | ||
| 23 | - * Fix typos in man pages. [PR #905](https://github.com/c-ares/c-ares/pull/905) | ||
| 9 | + * Empty TXT records were not being preserved. [PR #922](https://github.com/c-ares/c-ares/pull/922) | ||
| 10 | + * docs: update deprecation notices for `ares_create_query()` and `ares_mkquery()`. [PR #910](https://github.com/c-ares/c-ares/pull/910) | ||
| 11 | + * license: some files weren't properly updated. [PR #920](https://github.com/c-ares/c-ares/pull/920) | ||
| 12 | + * Fix bind local device regression from 1.34.0. [PR #929](https://github.com/c-ares/c-ares/pull/929), [PR #931](https://github.com/c-ares/c-ares/pull/931), [PR #935](https://github.com/c-ares/c-ares/pull/935) | ||
| 13 | + * CMake: set policy version to prevent deprecation warnings. [PR #932](https://github.com/c-ares/c-ares/pull/932) | ||
| 14 | + * CMake: shared and static library names should be the same on unix platforms like autotools uses. [PR #933](https://github.com/c-ares/c-ares/pull/933) | ||
| 15 | + * Update to latest autoconf archive macros for enhanced system compatibility. [PR #936](https://github.com/c-ares/c-ares/pull/936) | ||
| 24 | 16 | ||
| 25 | 17 | Thanks go to these friendly people for their efforts and contributions for this | |
| 26 | 18 | release: | |
| 27 | 19 | ||
| 28 | 20 | * Brad House (@bradh352) | |
| 29 | - * Jiwoo Park (@jimmy-park) | ||
| 30 | - | ||
| 31 | - | ||
| 32 | - ## c-ares version 1.34.2 - October 15 2024 | ||
| 33 | - | ||
| 34 | - This release contains a fix for downstream packages detecting the c-ares | ||
| 35 | - version based on the contents of the header file rather than the | ||
| 36 | - distributed pkgconf or cmake files. | ||
| 37 | - | ||
| 38 | - ## c-ares version 1.34.1 - October 9 2024 | ||
| 39 | - | ||
| 40 | - This release fixes a packaging issue. | ||
| 41 | - | ||
| 42 | - | ||
| 43 | - ## c-ares version 1.34.0 - October 9 2024 | ||
| 44 | - | ||
| 45 | - This is a feature and bugfix release. | ||
| 46 | - | ||
| 47 | - Features: | ||
| 48 | - * adig: read arguments from adigrc. | ||
| 49 | - [PR #856](https://github.com/c-ares/c-ares/pull/856) | ||
| 50 | - * Add new pending write callback optimization via `ares_set_pending_write_cb`. | ||
| 51 | - [PR #857](https://github.com/c-ares/c-ares/pull/857) | ||
| 52 | - * New function `ares_process_fds()`. | ||
| 53 | - [PR #875](https://github.com/c-ares/c-ares/pull/875) | ||
| 54 | - * Failed servers should be probed rather than redirecting queries which could | ||
| 55 | - cause unexpected latency. | ||
| 56 | - [PR #877](https://github.com/c-ares/c-ares/pull/877) | ||
| 57 | - * adig: rework command line arguments to mimic dig from bind. | ||
| 58 | - [PR #890](https://github.com/c-ares/c-ares/pull/890) | ||
| 59 | - * Add new method for overriding network functions | ||
| 60 | - `ares_set_socket_function_ex()` to properly support all new functionality. | ||
| 61 | - [PR #894](https://github.com/c-ares/c-ares/pull/894) | ||
| 62 | - * Fix regression with custom socket callbacks due to DNS cookie support. | ||
| 63 | - [PR #895](https://github.com/c-ares/c-ares/pull/895) | ||
| 64 | - * ares_socket: set IP_BIND_ADDRESS_NO_PORT on ares_set_local_ip* tcp sockets | ||
| 65 | - [PR #887](https://github.com/c-ares/c-ares/pull/887) | ||
| 66 | - * URI parser/writer for ares_set_servers_csv()/ares_get_servers_csv(). | ||
| 67 | - [PR #882](https://github.com/c-ares/c-ares/pull/882) | ||
| 68 | - | ||
| 69 | - Changes: | ||
| 70 | - * Connection handling modularization. | ||
| 71 | - [PR #857](https://github.com/c-ares/c-ares/pull/857), | ||
| 72 | - [PR #876](https://github.com/c-ares/c-ares/pull/876) | ||
| 73 | - * Expose library/utility functions to tools. | ||
| 74 | - [PR #860](https://github.com/c-ares/c-ares/pull/860) | ||
| 75 | - * Remove `ares__` prefix, just use `ares_` for internal functions. | ||
| 76 | - [PR #872](https://github.com/c-ares/c-ares/pull/872) | ||
| 77 | - | ||
| 78 | - | ||
| 79 | - Bugfixes: | ||
| 80 | - * fix: potential WIN32_LEAN_AND_MEAN redefinition. | ||
| 81 | - [PR #869](https://github.com/c-ares/c-ares/pull/869) | ||
| 82 | - * Fix googletest v1.15 compatibility. | ||
| 83 | - [PR #874](https://github.com/c-ares/c-ares/pull/874) | ||
| 84 | - * Fix pkgconfig thread dependencies. | ||
| 85 | - [PR #884](https://github.com/c-ares/c-ares/pull/884) | ||
| 86 | - | ||
| 87 | - | ||
| 88 | - Thanks go to these friendly people for their efforts and contributions for this | ||
| 89 | - release: | ||
| 90 | - | ||
| 91 | - * Brad House (@bradh352) | ||
| 92 | - * Cristian Rodríguez (@crrodriguez) | ||
| 93 | - * Georg (@tacerus) | ||
| 94 | - * @lifenjoiner | ||
| 95 | - * Shelley Vohr (@codebytere) | ||
| 96 | - * 前进,前进,进 (@leleliu008) | ||
| 97 | - | ||
| 21 | + * Daniel Stenberg (@bagder) | ||
| 22 | + * Gregor Jasny (@gjasny) | ||
| 23 | + * @marcovsz | ||
| 24 | + * Nikolaos Chatzikonstantinou (@createyourpersonalaccount) | ||
| 25 | + * @vlasovsoft1979 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1221,6 +1221,8 @@ AC_SUBST([am__tar]) | |||
| 1221 | 1221 | AC_SUBST([am__untar]) | |
| 1222 | 1222 | ]) # _AM_PROG_TAR | |
| 1223 | 1223 | ||
| 1224 | + m4_include([m4/ares_check_user_namespace.m4]) | ||
| 1225 | + m4_include([m4/ares_check_uts_namespace.m4]) | ||
| 1224 | 1226 | m4_include([m4/ax_ac_append_to_file.m4]) | |
| 1225 | 1227 | m4_include([m4/ax_ac_print_to_file.m4]) | |
| 1226 | 1228 | m4_include([m4/ax_add_am_macro_static.m4]) | |
@@ -1231,8 +1233,6 @@ m4_include([m4/ax_append_link_flags.m4]) | |||
| 1231 | 1233 | m4_include([m4/ax_check_compile_flag.m4]) | |
| 1232 | 1234 | m4_include([m4/ax_check_gnu_make.m4]) | |
| 1233 | 1235 | m4_include([m4/ax_check_link_flag.m4]) | |
| 1234 | - m4_include([m4/ax_check_user_namespace.m4]) | ||
| 1235 | - m4_include([m4/ax_check_uts_namespace.m4]) | ||
| 1236 | 1236 | m4_include([m4/ax_code_coverage.m4]) | |
| 1237 | 1237 | m4_include([m4/ax_compiler_vendor.m4]) | |
| 1238 | 1238 | m4_include([m4/ax_cxx_compile_stdcxx.m4]) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | ||
| 2 | 2 | # aminclude_static.am generated automatically by Autoconf | |
| 3 | - # from AX_AM_MACROS_STATIC on Sat Nov 9 17:40:37 UTC 2024 | ||
| 3 | + # from AX_AM_MACROS_STATIC on Sat Dec 14 15:15:44 UTC 2024 | ||
| 4 | 4 | ||
| 5 | 5 | ||
| 6 | 6 | # Code coverage | |
@@ -66,7 +66,7 @@ code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY)) | |||
| 66 | 66 | code_coverage_v_lcov_cap_0 = @echo " LCOV --capture" $(CODE_COVERAGE_OUTPUT_FILE); | |
| 67 | 67 | code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V)) | |
| 68 | 68 | code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY)) | |
| 69 | - code_coverage_v_lcov_ign_0 = @echo " LCOV --remove /tmp/*" $(CODE_COVERAGE_IGNORE_PATTERN); | ||
| 69 | + code_coverage_v_lcov_ign_0 = @echo " LCOV --remove" "$(CODE_COVERAGE_OUTPUT_FILE).tmp" $(CODE_COVERAGE_IGNORE_PATTERN); | ||
| 70 | 70 | code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V)) | |
| 71 | 71 | code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY)) | |
| 72 | 72 | code_coverage_v_genhtml_0 = @echo " GEN " "$(CODE_COVERAGE_OUTPUT_DIRECTORY)"; | |
@@ -85,7 +85,7 @@ check-code-coverage: | |||
| 85 | 85 | # Capture code coverage data | |
| 86 | 86 | code-coverage-capture: code-coverage-capture-hook | |
| 87 | 87 | $(code_coverage_v_lcov_cap)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --capture --output-file "$(CODE_COVERAGE_OUTPUT_FILE).tmp" --test-name "$(call code_coverage_sanitize,$(PACKAGE_NAME)-$(PACKAGE_VERSION))" --no-checksum --compat-libtool $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_OPTIONS) | |
| 88 | - $(code_coverage_v_lcov_ign)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --remove "$(CODE_COVERAGE_OUTPUT_FILE).tmp" "/tmp/*" $(CODE_COVERAGE_IGNORE_PATTERN) --output-file "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_RMOPTS) | ||
| 88 | + $(code_coverage_v_lcov_ign)$(LCOV) $(code_coverage_quiet) $(addprefix --directory ,$(CODE_COVERAGE_DIRECTORY)) --remove "$(CODE_COVERAGE_OUTPUT_FILE).tmp" $(CODE_COVERAGE_IGNORE_PATTERN) --output-file "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_LCOV_SHOPTS) $(CODE_COVERAGE_LCOV_RMOPTS) | ||
| 89 | 89 | -@rm -f "$(CODE_COVERAGE_OUTPUT_FILE).tmp" | |
| 90 | 90 | $(code_coverage_v_genhtml)LANG=C $(GENHTML) $(code_coverage_quiet) $(addprefix --prefix ,$(CODE_COVERAGE_DIRECTORY)) --output-directory "$(CODE_COVERAGE_OUTPUT_DIRECTORY)" --title "$(PACKAGE_NAME)-$(PACKAGE_VERSION) Code Coverage" --legend --show-details "$(CODE_COVERAGE_OUTPUT_FILE)" $(CODE_COVERAGE_GENHTML_OPTIONS) | |
| 91 | 91 | @echo "file://$(abs_builddir)/$(CODE_COVERAGE_OUTPUT_DIRECTORY)/index.html" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments