[PATCH] Further <resolv.h> cleanup

Florian Weimer fweimer@redhat.com
Thu Apr 13 08:51:00 GMT 2017


On 04/11/2017 08:19 PM, Adhemerval Zanella wrote:
> On 11/04/2017 07:33, Florian Weimer wrote:
>> I'm not sure if this is okay from an API compatibility point of view.
>>
>> _res._flags is supposed to be private to the resolver, so the RES_F_* constants should not be in an installed header file, but we nevertheless included them in <resolv.h>.
> 
> In a strict way we should continue to provide it (at least on compat way), however
> since it is clearly an wrong exposure from glibc and messing with the flag could
> lead to unknown side effects I would say this change seems ok.  Also, trying to get
> for the flags leads to no meaningful usage on debian codesarch, so I think we should
> be safe
> 
> Aas a side note, I also think the effort to keep to maintain a certain level of
> api compatibility for this specific issues is just waste effort without much gain.

Thanks, that was my conclusion as well.  I will commit this patch.

Florian



More information about the Libc-alpha mailing list