This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Tests for res_init


On 05/18/2017 10:05 PM, Siddhesh Poyarekar wrote:
> Why not just have a tst-resolv-res_init.c and
> tst-resolv-res_init-thread.c?  That's how a lot of the other similar
> kinds of tests are rewritten.  I don't have a very strong opinion on
> this though, you can choose the color of your shed :)

I do it this way so that I can use #if instead of #ifdef, following the
current guidelines to trigger -Wundef warnings on typos.

I'm going to push this without the tests expecting incorrect results.

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]