You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2017/05/05 15:31:27 UTC
[trafficserver] branch master updated: Fix build errors for glibc
2.25
This is an automated email from the ASF dual-hosted git repository.
amc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new f5e2019 Fix build errors for glibc 2.25
f5e2019 is described below
commit f5e201962d9ace4079ce68df7348c9713651674d
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.
---
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>'].