Tarantool development patches archive
 help / color / mirror / Atom feed
From: Alexander Turenko <alexander.turenko@tarantool.org>
To: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Alexander Turenko <alexander.turenko@tarantool.org>,
	tarantool-patches@freelists.org
Subject: [PATCH 1/2] Remove deprecated getaddrinfo() flags
Date: Sun,  2 Dec 2018 18:57:31 +0300	[thread overview]
Message-ID: <52dc4f82e344f53e0e39cbae96ae4a7452bf79ca.1543765908.git.alexander.turenko@tarantool.org> (raw)
In-Reply-To: <cover.1543765908.git.alexander.turenko@tarantool.org>

AI_IDN_ALLOW_UNASSIGNED and AI_IDN_USE_STD3_ASCII_RULES flags are
deprecated by glibc-2.28 and the deprecation warnings did cause fail of
Debug build, because of -Werror.

Fixes #3766.
---
 src/lua/socket.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/lua/socket.c b/src/lua/socket.c
index 84711b441..130378caf 100644
--- a/src/lua/socket.c
+++ b/src/lua/socket.c
@@ -391,12 +391,6 @@ static const struct { char name[32]; int value; } ai_flags[] = {
 #ifdef AI_CANONIDN
 	{"AI_CANONIDN",			AI_CANONIDN			},
 #endif
-#ifdef AI_IDN_ALLOW_UNASSIGNED
-	{"AI_IDN_ALLOW_UNASSIGNED",	AI_IDN_ALLOW_UNASSIGNED		},
-#endif
-#ifdef AI_IDN_USE_STD3_ASCII_RULES
-	{"AI_IDN_USE_STD3_ASCII_RULES",	AI_IDN_USE_STD3_ASCII_RULES	},
-#endif
 #ifdef AI_NUMERICSERV
 	{"AI_NUMERICSERV",		AI_NUMERICSERV			},
 #endif
-- 
2.19.2

  reply	other threads:[~2018-12-02 15:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-02 15:57 [PATCH 0/2] Glibc 2.28 fixes Alexander Turenko
2018-12-02 15:57 ` Alexander Turenko [this message]
2018-12-02 15:57 ` [PATCH 2/2] lua: fix error handling in getpwall and getgrall Alexander Turenko
2018-12-03  8:33   ` Vladimir Davydov
2018-12-03 15:19     ` Alexander Turenko
2018-12-03 15:29       ` Vladimir Davydov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52dc4f82e344f53e0e39cbae96ae4a7452bf79ca.1543765908.git.alexander.turenko@tarantool.org \
    --to=alexander.turenko@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --cc=vdavydov.dev@gmail.com \
    --subject='Re: [PATCH 1/2] Remove deprecated getaddrinfo() flags' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox