1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-12 05:01:15 +03:00
Here are patches needed to complie under AIX 4.2.
I changed configure.in, pqcomm.c, config.h.in, and fe-connect.c.
Also I had to install flex because lex did not want to translate pgc.l.
This commit is contained in:
Marc G. Fournier
1998-10-13 20:44:49 +00:00
parent 5dc94a1b5a
commit 4fff1dada7
5 changed files with 193 additions and 151 deletions

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.56 1998/10/07 03:45:12 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.57 1998/10/13 20:44:40 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -653,8 +653,8 @@ StreamServerPort(char *hostName, short portName, int *fdP)
int
StreamConnection(int server_fd, Port *port)
{
int len,
addrlen;
int len;
SOCKET_SIZE_TYPE addrlen;
int family = port->raddr.sa.sa_family;
/* accept connection (and fill in the client (remote) address) */
@@ -725,8 +725,8 @@ StreamClose(int sock)
int
StreamOpen(char *hostName, short portName, Port *port)
{
int len,
err;
SOCKET_SIZE_TYPE len;
int err;
struct hostent *hp;
extern int errno;