NEWS: Mention __res_* compatibility symbols

Message ID 87eebroqhc.fsf@oldenburg.str.redhat.com
State Superseded
Headers
Series NEWS: Mention __res_* compatibility symbols |

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent

Commit Message

Florian Weimer July 21, 2021, 11:28 a.m. UTC
  ---
 NEWS | 8 ++++++++
 1 file changed, 8 insertions(+)
  

Comments

Andreas Schwab July 21, 2021, 12:24 p.m. UTC | #1
On Jul 21 2021, Florian Weimer wrote:

> +* The symbols __res_dnok, __res_hnok, __res_mailok, __res_mkquery,
> +  __res_nmkquery, __res_nquery, __res_nquerydomain, __res_nsearch,
> +  __res_nsend, __res_ownok, __res_query, __res_querydomain,
> +  __res_search, __res_send are no longer available for linking new
> +  applications.  Autoconf checks that use these symbols need to check
> +  the symbols without the __ prefix as well.  These symbols are now
> +  available without linking against libresolv.

I think this should just say that the symbols were renamed without the
prefix, without mentioning autoconf.

Andreas.
  

Patch

diff --git a/NEWS b/NEWS
index 4df348cce5..efc105b6b4 100644
--- a/NEWS
+++ b/NEWS
@@ -107,6 +107,14 @@  Deprecated and removed features, and other changes affecting compatibility:
   ns_format_ttl, ns_makecanon, ns_parse_ttl, ns_samedomain, ns_samename,
   ns_sprintrr, ns_sprintrrf, ns_subdomain have been deprecated.
 
+* The symbols __res_dnok, __res_hnok, __res_mailok, __res_mkquery,
+  __res_nmkquery, __res_nquery, __res_nquerydomain, __res_nsearch,
+  __res_nsend, __res_ownok, __res_query, __res_querydomain,
+  __res_search, __res_send are no longer available for linking new
+  applications.  Autoconf checks that use these symbols need to check
+  the symbols without the __ prefix as well.  These symbols are now
+  available without linking against libresolv.
+
 * The pthread cancellation handler is now installed with SA_RESTART and
   pthread_cancel will always send the internal SIGCANCEL on a cancellation
   request.  It should not be visible to application since the cancellation