forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb2d867f
committed
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.cfrominclude path instead of workdir (rename it ?)3. fe-connect getsockopt takes a socklen_t as fifth arg not int (useSOCKET_SIZE_TYPE instead)4. char vs unsigned char in psql calls to libpq5. empty define that results in an empty but terminated line ( ; )Now for all but point 3 I can supply changes to thecompiler flags, to make the compiler less pedantic.Or is someone interested in the complications ?in the meantime can someone apply the attached patch ?Andreas1 parent90cb4c8 commitb2d867f
File tree
3 files changed
+5
-3
lines changed- src
- interfaces/libpq
- template
- test/regress
3 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
1080 | 1080 | | |
1081 | 1081 | | |
1082 | 1082 | | |
1083 | | - | |
| 1083 | + | |
1084 | 1084 | | |
1085 | 1085 | | |
1086 | 1086 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| |||
0 commit comments
Comments
(0)