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

Borzenkov Andrey Andrej.Borsenkow@mow.siemens.ru
Tue, 29 Oct 2002 17:06:32 +0300


> > > I have found two problems which are the possible cause of the
crashes
> > > reported on this list. expect a new release soon if the fixes
below
> prove
> > > to be effective.
> >
> > I am very happy to report that 1.5.23+libol-0.3.5 are running just
fine
> > in my environment.  Before I discovered 1.5.23 was available I had
> > already tested 1.5.21+the sources.c patch, and that worked for me as
> > well.
> >
> > Thanks very much for taking the time to stomp this bug out of
existence!
> 
> cool, and thanks for testing the fix. if syslog-ng 1.5.23 proves to be
> stable, I'll release 1.6.0
> 
> Could you - not specifically you, rather the list - please test the
> configure.in changes as well on different platforms?
> 

Trying to build it on post-8.2-pre-9.0 Mandrake system with
autoconf-2.13 resulted in

Making all in src
make[1]: Entering directory `/wrk/rpm/BUILD/syslog-ng-1.5.23/src'
cd /wrk/rpm/BUILD/syslog-ng-1.5.23 && autoheader
/usr/bin/autoheader-2.13: Symbol `HAVE_RES_INIT' is not covered by
/usr/share/autoconf/acconfig.h ./acconfig.h

FWIW the following patch seems to have fixed it:

--- syslog-ng-1.5.23/acconfig.h.orig    Wed Apr  3 12:37:02 2002
+++ syslog-ng-1.5.23/acconfig.h Tue Oct 29 17:00:12 2002
@@ -40,4 +40,5 @@
 #undef PATH_SYSCONFDIR 
 
 #undef ENABLE_TCP_WRAPPER
- 
\ No newline at end of file
+ 
+#undef HAVE_RES_INIT

-andrey