[rbldnsd] Dairiki's v6 version

Jeff Dairiki dairiki at dairiki.org
Wed Mar 13 19:11:33 MSK 2013


Hi Andreas,

On Wed, Mar 13, 2013 at 09:35:01AM +0100, Andreas Schulze wrote:
>
> I compiled https://github.com/dairiki/rbldnsd/tarball/ipv6/rbldnsd.tar.gz
> I use an autobuildsystem to compile for SuSE Enterprise Server 9,10 and 11 and
> for the latest OpenSuSE snapshot (OpenSuSE_Factory)

Thank you for the report(s)!
 
> Success for sles9/10/11 but very restrictive compiler setting force warnings to be errors on OpenSuSE_Factory:
> 
[...]
> gcc -Wall -W -O2 -pipe  -c btrie.c
> btrie.c: In function 'btrie_stats':
> btrie.c:1496:15: error: storage size of 'buf' isn't constant
> btrie.c:1496:15: warning: unused variable 'buf' [-Wunused-variable]
> btrie.c:1542:1: warning: control reaches end of non-void function [-Wreturn-type]
> make: *** [btrie.o] Error 1

Oh.  That *should* be an error --- I'm not sure why that (an apparent
attempt at variable-length static array) worked anywhere.

I've just checked in this fix:

   https://github.com/dairiki/rbldnsd/commit/a547812

Please try again.  (You can download a new tarball from the same old URL ---
the tarballs are dynamically generated from the git repository.)

Jeff


More information about the rbldnsd mailing list