diff options
author | Marc G. Fournier | 1997-04-15 19:08:13 +0000 |
---|---|---|
committer | Marc G. Fournier | 1997-04-15 19:08:13 +0000 |
commit | cacaaed62b56aadfd3b1536c2b910d6ba5897928 (patch) | |
tree | 8485561471affbdcfecf411071c7d618651e0eee | |
parent | 94893bb962aa980accbce021c24f6be42efeda9b (diff) |
A couple of cleanups from Scott Harrison <[email protected]>
-rw-r--r-- | src/include/port/nextstep.h | 1 | ||||
-rw-r--r-- | src/interfaces/libpq/fe-connect.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/include/port/nextstep.h b/src/include/port/nextstep.h index d7fbae858c6..ca078ab10d4 100644 --- a/src/include/port/nextstep.h +++ b/src/include/port/nextstep.h @@ -1,3 +1,4 @@ +# include <libc.h> # include <sys/ioctl.h> # if defined(__STRICT_ANSI__) # define isascii(c) ((unsigned)(c)<=0177) diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 27c123e6f39..9d02de5b526 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.28 1997/04/02 18:26:25 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.29 1997/04/15 19:08:13 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -313,6 +313,7 @@ PQsetdb(const char *pghost, const char* pgport, const char* pgoptions, const cha fprintf(stderr, "FATAL: PQsetdb() -- unable to allocate memory for a PGconn"); else { + conn->lobjfuncs = (PGlobjfuncs *) NULL; conn->Pfout = NULL; conn->Pfin = NULL; conn->Pfdebug = NULL; |