From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng2.m.smailru.net (smtpng2.m.smailru.net [94.100.179.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 1AE8F46970E for ; Fri, 27 Dec 2019 16:01:31 +0300 (MSK) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3594.4.19\)) From: Roman Khabibov In-Reply-To: <20191226210524.ss6rwhnxu3mcixrw@tkn_work_nb> Date: Fri, 27 Dec 2019 16:01:29 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <66C63080-779D-498E-A392-84BED9E46FBD@tarantool.org> References: <20191101151939.lewxpitqxzyn6dz6@tkn_work_nb> <20191208194823.krw4hc4lm7bhxqrk@tkn_work_nb> <20191218150132.upsy57nxmk3xpfqk@tkn_work_nb> <20191223125658.ngkmmngbkxyfiy45@tkn_work_nb> <20191223133845.7ltx5n5ipffpohkc@tkn_work_nb> <858A7AA0-6429-4D6E-9359-4D846BB84963@tarantool.org> <20191226210524.ss6rwhnxu3mcixrw@tkn_work_nb> Subject: Re: [Tarantool-patches] [tarantool-patches] [PATCH v2 2/2] say: take getaddrinfo() errors into account List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Turenko Cc: tarantool-patches@dev.tarantool.org Hi! > Linux: >=20 > $ gcc -Wall -Wextra -x c <(echo -e '#include \n#include = \n#include \n#include \nint main() { = printf("%s\\n", gai_strerror(EAI_AGAIN)); return 0; }') && ./a.out; rm = a.out > Temporary failure in name resolution >=20 > Mac OS: >=20 > $ clang -Wall -Wextra -x c <(echo -e '#include \n#include = \n#include \n#include \nint main() { = printf("%s\\n", gai_strerror(EAI_AGAIN)); return 0; }') && ./a.out; rm = a.out > Temporary failure in name resolution >=20 > FreeBSD: >=20 > % printf '#include \n#include \n#include = \n#include \nint main() { printf("%%s\\n", = gai_strerror(EAI_AGAIN)); return 0; }' > tmp.c && gcc -Wall -Wextra -x c = tmp.c && ./a.out ; rm a.out tmp.c > Name could not be resolved at this time >=20 > "temporary failure in name resolution" does not match any. Fixed. I looked here. = https://www.freebsd.org/cgi/man.cgi?query=3Dgai_strerror&sektion=3D3&manpa= th=3DFreeBSD+5.4-RELEASE=