shared build fails, but the rest compiles...formatting error in the

cc -shared, I believe...
This commit is contained in:
Marc G. Fournier 1996-11-03 07:14:32 +00:00
parent aed384f12d
commit 4bdf308bdf
4 changed files with 16 additions and 11 deletions

View File

@ -7,17 +7,14 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.9 1996/11/02 09:54:44 bryanh Exp $ # $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.10 1996/11/03 07:14:29 scrappy Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
SRCDIR= .. SRCDIR= ..
include ../Makefile.global include ../Makefile.global
INCLUDE_OPT= \ INCLUDE_OPT= -I../include -I.
-I. \
-I../include \
-I../backend \
CFLAGS+= $(INCLUDE_OPT) -DPOSTPORT='"$(POSTPORT)"' CFLAGS+= $(INCLUDE_OPT) -DPOSTPORT='"$(POSTPORT)"'

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.5 1996/10/13 04:50:27 momjian Exp $ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.6 1996/11/03 07:14:30 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -33,6 +33,9 @@
#include <unistd.h> #include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
#include <pwd.h> #include <pwd.h>
#include "postgres.h"
#include "libpq/pqcomm.h" #include "libpq/pqcomm.h"
#include "libpq-fe.h" #include "libpq-fe.h"

View File

@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.12 1996/10/29 21:53:48 bryanh Exp $ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.13 1996/11/03 07:14:31 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -22,8 +22,10 @@
#include <netdb.h> #include <netdb.h>
#include <errno.h> #include <errno.h>
#include <signal.h> #include <signal.h>
#include <libpq/pqcomm.h> /* for decls of MsgType, PacketBuf, StartupInfo */
#include <fe-auth.h> #include "postgres.h"
#include "libpq/pqcomm.h" /* for decls of MsgType, PacketBuf, StartupInfo */
#include "fe-auth.h"
#include "libpq-fe.h" #include "libpq-fe.h"
#if defined(PORTNAME_ultrix4) || defined(PORTNAME_next) #if defined(PORTNAME_ultrix4) || defined(PORTNAME_next)
@ -141,7 +143,7 @@ PQsetdb(const char *pghost, const char* pgport, const char* pgoptions, const cha
} else } else
conn->pgoptions = strdup(pgoptions); conn->pgoptions = strdup(pgoptions);
if (tmp = getenv("PGUSER")) { if ((tmp = getenv("PGUSER"))) {
error = FALSE; error = FALSE;
conn->pguser = strdup(tmp); conn->pguser = strdup(tmp);
} else { } else {

View File

@ -11,13 +11,16 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.2 1996/08/06 16:16:48 scrappy Exp $ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.3 1996/11/03 07:14:32 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include "postgres.h"
#include "libpq-fe.h" #include "libpq-fe.h"
/* pqGetc: /* pqGetc: