Re: several messages

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Jon Morby, Philip Blundell
Cc: exim-users
Temas antiguos: libident and DST_NONE
Asunto: Re: several messages
On Fri, 18 Apr 1997, Jon Morby wrote:

> libident/ident.h has the following at about line 115


The libident code is not mine, and I have not modified it in any way
and would rather not have to, but will do so if absolutely necessary.

On Sun, 20 Apr 1997, Philip Blundell wrote:

> I just looked at the code. From what I can tell, the problem is that
> libident assumes `struct timeval' refers to DST_NONE, and so it tries to
> avoid using this structure when DST_NONE isn't defined. Unfortunately it
> doesn't make this change everywhere it should, and so it blows up.
>
> This is a problem for Linux with the new C library as well. An easy,
> albeit not particularly neat, fix is to add -DDST_NONE to LIBIDENTCFLAGS
> for systems that are afflicted like this - there's not a lot else you can
> do without modifying libident. The value of DST_NONE is never used so
> defining it to be empty should be harmless.


I see there is a later release of libident from the one that is in Exim
at the moment. I will fetch it and see if perhaps something has been
changed/fixed.


-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714