OpenDKIM 2.7.1 Solaris 10 compile problems and segfaults

From: Leena Heino <Leena.Heino_at_uta.fi>
Date: Thu, 8 Nov 2012 16:24:37 +0200 (EET)

Hi,

It seems that the OpenDKIM version 2.7.1 does not compile with Solaris 10.

Some of the compile problems seems to be related to changes in the way DNS
is handled. These changes were introduced in the version 2.7.0 and with
the commit:
http://opendkim.git.sourceforge.net/git/gitweb.cgi?p=opendkim/opendkim;a=commitdiff;h=b3d5c0dec469bc1326a28d160ac2b2957a1f5846

In Solaris 10 and later versions it is required that you zero reserved
memory before using res_ninit() or any other reentrant res_* functions.

Attached is a patch that fixes the build with Solaris 10.

-- 
   Leena Heino              University of Tampere / Computer Centre
   ( liinu at uta.fi )      ( http://www.uta.fi/laitokset/tkk )



Received on Thu Nov 08 2012 - 14:24:47 PST

This archive was generated by hypermail 2.3.0 : Thu Nov 08 2012 - 14:27:01 PST