OSDN Git Service

Some points for portability improvements:
authorBruce Momjian <bruce@momjian.us>
Thu, 23 Mar 2000 17:27:36 +0000 (17:27 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 23 Mar 2000 17:27:36 +0000 (17:27 +0000)
commitb2d867fb086c2b8c504387d177b80b9d09b76370
tree668d491727e83dcbae3962b730851e53620e8e5b
parent90cb4c89dffae564a8ab803e9f0213625207afe7
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
src/interfaces/libpq/fe-connect.c
src/template/aix_42
src/test/regress/resultmap