Some points for portability improvements:

Bruce Momjian <bruce@momjian.us>

Commit: b2d867fb086c2b8c504387d177b80b9d09b76370
Author: Bruce Momjian <bruce@momjian.us>
Date: 2000-03-23T17:27:36Z
Releases: 7.1.1
Some points for portability improvements:

1. C++ style comments in C source for ecpg ( // comment )
2. compiler finds wrong include file extern.h in ecpg/lib/descriptor.c
from
include path instead of workdir (rename it ?)
3. fe-connect getsockopt takes a socklen_t as fifth arg not int (use
SOCKET_SIZE_TYPE instead)
4. char vs unsigned char in psql calls to libpq
5. empty define that results in an empty but terminated line ( ; )

Now for all but point 3 I can supply changes to the
compiler flags, to make the compiler less pedantic.
Or is someone interested in the complications ?

in the meantime can someone apply the attached patch ?

Andreas

Files

PathChange+/−
src/interfaces/libpq/fe-connect.c modified +2 −2
src/template/aix_42 modified +1 −1
src/test/regress/resultmap modified +2 −0