[syslog-ng]crashbug fix in recent syslog-ng versions

Balazs Scheidler bazsi@balabit.hu
Wed, 30 Oct 2002 14:32:54 +0100


On Tue, Oct 29, 2002 at 09:43:49AM -0500, William Yodlowsky wrote:
> Balazs Scheidler <bazsi@balabit.hu> wrote:

> Now that you mention it... on Solaris 2.6 I had to use the attached
> patch for syslog-ng to build.  On Solaris 8 I had to invoke configure
> this way in order to *really* disable res_init:
> 
> /bin/env blb_cv_c_res_init=no ./configure --sysconfdir=/etc
> 
> Otherwise, I ended up with this (notice there are two res_init() checks,
> and one succeeds):

the two different checks are fixed now (the EGREP one remains, as it is the
one which works on Linux)

Why is this #include <arpa/nameser.h> needed?

res_init() is not defined by <resolv.h> ?

That might cause a warning, but it should still compile. (I only have
solaris 8, and res_init() is defined by <resolv.h>


-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1