Re: [HACKERS] segfault caused by heimdal (was: SUSE port)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Reinhard Max <max(at)suse(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] segfault caused by heimdal (was: SUSE port)
Date: 2005-01-12 19:59:42
Message-ID: 684.1105559982@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce pgsql-hackers pgsql-patches

Reinhard Max <max(at)suse(dot)de> writes:
> --- src/interfaces/libpq/fe-auth.c
> +++ src/interfaces/libpq/fe-auth.c
> @@ -244,6 +244,11 @@
>
> #include <krb5.h>
>
> +#if !defined(__COM_ERR_H) && !defined(__COM_ERR_H__)
> +/* if krb5.h didn't include it already */
> +#include <com_err.h>
> +#endif
> +
> /*
> * pg_an_to_ln -- return the local name corresponding to an authentication
> * name

That looks like a reasonable fix, but isn't it needed in
backend/libpq/auth.c as well?

regards, tom lane

In response to

Responses

Browse pgsql-announce by date

  From Date Subject
Next Message Greg Stark 2005-01-12 20:08:37 Re: Much Ado About COUNT(*)
Previous Message Jonah H. Harris 2005-01-12 19:52:53 Re: Much Ado About COUNT(*)

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2005-01-12 20:08:37 Re: Much Ado About COUNT(*)
Previous Message Dann Corbit 2005-01-12 19:57:11 Re: Much Ado About COUNT(*)

Browse pgsql-patches by date

  From Date Subject
Next Message Greg Stark 2005-01-12 20:08:37 Re: Much Ado About COUNT(*)
Previous Message Jonah H. Harris 2005-01-12 19:52:53 Re: Much Ado About COUNT(*)