1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

Remove fmgrstamp-h business -- not needed and confusing

Add options to configure to automatically build for Kerberos
support; no more editing of make files.
This commit is contained in:
Peter Eisentraut
2000-06-17 00:10:40 +00:00
parent b36d31030b
commit 1652d43358
23 changed files with 1054 additions and 677 deletions

View File

@ -10,7 +10,7 @@
* exceed INITIAL_EXPBUFFER_SIZE (currently 256 bytes).
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.42 2000/05/27 04:13:05 momjian Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.43 2000/06/17 00:10:09 petere Exp $
*
*-------------------------------------------------------------------------
*/
@ -119,7 +119,7 @@ static void
pg_krb4_init()
{
char *realm;
static init_done = 0;
static int init_done = 0;
if (init_done)
return;
@ -129,7 +129,7 @@ pg_krb4_init()
* If the user set PGREALM, then we use a ticket file with a special
* name: <usual-ticket-file-name>@<PGREALM-value>
*/
if (realm = getenv("PGREALM"))
if ((realm = getenv("PGREALM")))
{
char tktbuf[MAXPGPATH];
@ -184,7 +184,7 @@ pg_krb4_authname(char *PQerrormsg)
* (canonicalized to omit all domain suffixes).
*/
static int
pg_krb4_sendauth(const char *PQerrormsg, int sock,
pg_krb4_sendauth(char *PQerrormsg, int sock,
struct sockaddr_in * laddr,
struct sockaddr_in * raddr,
const char *hostname)
@ -213,7 +213,7 @@ pg_krb4_sendauth(const char *PQerrormsg, int sock,
(u_long) 0,
(MSG_DAT *) NULL,
(CREDENTIALS *) NULL,
(Key_schedule *) NULL,
NULL,
laddr,
raddr,
PG_KRB4_VERSION);