[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: heimdal 0.51 resolve



"Howard Chu" <hyc@highlandsun.com> writes:

> The configure script fails to detect res_nsearch() because the test
> program only provides 5 arguments and res_nsearch() takes 6.

Ah, fixed now. Thanks.

> In lib/roken/resolve.c HAVE_RES_NSEARCH is explicitly #undefine'd,
> so even when the configure script is fixed it won't get used.

The reason it's undefed is that the implementation I was using (AIX)
was rather severely buggy. The res_state struct expected by
res_nsearch was much larger than the one found in resolv.h, resulting
in memory corruption.

/Johan