On Wed, Jul 17, 2013 at 12:38 PM, Eric Faurot <[email protected]> wrote:

>
> > I'm ok with that, what I'm not happy with is adding ifdef's to the code
> > when not absolutely necessary :-)
> >
> >
> > > 3) RES_USE_EDNS0 and RES_USE_DNSSEC options are missed in old GLIBC.
> They
> > > prescript to use DNSSEC for security reasons, but their using or
> dismissing
> > > won't break the program's core functionality.
> > >
> >
> > eric ?
>
> I agree that we should not add too many #ifdef in the code.  It's
> better to define them to 0 (or whatever unused values) in config.h and
> leave the code untouched.
>

Yes, actually these parameters can be put in different places, I used code
directly as the easiest way to show the idea itself.
The most important if it can be implemented (this or another way), you can
change the approach according project's coding standards.

---
wbr, Denis.

Reply via email to