You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2017/08/17 17:16:20 UTC
[trafficserver] 02/05: Fix build errors for glibc 2.25
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit a327236e530b24093713d724c5fb4ce0ef257832
Author: Daniel Xu <dx...@dxuuu.xyz>
AuthorDate: Thu May 4 15:49:14 2017 -0500
Fix build errors for glibc 2.25
glibc 2.25 removes a few symbols for resolving related stuff. ATS never
even used those symbols anyways so let's just delete them.
(cherry picked from commit f5e201962d9ace4079ce68df7348c9713651674d)
---
lib/ts/ink_res_init.cc | 2 --
lib/ts/ink_resolver.h | 2 --
2 files changed, 4 deletions(-)
diff --git a/lib/ts/ink_res_init.cc b/lib/ts/ink_res_init.cc
index 1cafd41..d676252 100644
--- a/lib/ts/ink_res_init.cc
+++ b/lib/ts/ink_res_init.cc
@@ -320,8 +320,6 @@ ink_res_init(ink_res_state statp, ///< State object to update.
statp->pfcode = 0;
statp->_vcsock = -1;
statp->_flags = 0;
- statp->qhook = nullptr;
- statp->rhook = nullptr;
#ifdef SOLARIS2
/*
diff --git a/lib/ts/ink_resolver.h b/lib/ts/ink_resolver.h
index e979ad9..65dfa0f 100644
--- a/lib/ts/ink_resolver.h
+++ b/lib/ts/ink_resolver.h
@@ -259,8 +259,6 @@ struct ts_imp_res_state {
unsigned ndots : 4; /*%< threshold for initial abs. query */
unsigned nsort : 4; /*%< number of elements in sort_list[] */
char unused[3];
- res_send_qhook qhook; /*%< query hook */
- res_send_rhook rhook; /*%< response hook */
int res_h_errno; /*%< last one set for this context */
int _vcsock; /*%< PRIVATE: for res_send VC i/o */
unsigned _flags; /*%< PRIVATE: see below */
--
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.