From: "Dmitrij D. Czarkoff" <czarkoff@gmail.com>
To: musl@lists.openwall.com
Subject: [PATCH] Define __RES to 19960801
Date: Sat, 29 Oct 2016 20:58:23 +0200 [thread overview]
Message-ID: <20161029185824.53336-1-czarkoff@gmail.com> (raw)
Hi!
The BIND resolver API provided by musl is versioned with __RES macro, which is
defined to a date the API revision was released. Musl does not provide
res_ninit() and other functions that take resolver state as an argument. In
order to allow applications detect the lack of these functions with preprocessor
I suggest to set __RES to the version of the last BIND release which did not
include them - BIND 8.1.2. As far as I can tell, all newer BIND features that
musl supports are presented as macros and thus can be tested by preprocessor as
well.
--
Dmitrij D. Czarkoff
P.S.: I am not on the list, so please CC me if my input is desired.
next reply other threads:[~2016-10-29 18:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-29 18:58 Dmitrij D. Czarkoff [this message]
2016-10-29 18:58 ` Dmitrij D. Czarkoff
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=20161029185824.53336-1-czarkoff@gmail.com \
--to=czarkoff@gmail.com \
--cc=musl@lists.openwall.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).