forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfffd651
committed
Rewrite strnlen replacement implementation from8a24179.
The previous placement of the fallback implementation in libpgcommonwas problematic, because libpqport functions need strnlenfunctionality.Move replacement into libpgport. Provide strnlen() under its posixname, instead of pg_strnlen(). Fix stupid configure bug, executing thetest only when compiled with threading support.Author: Andres FreundDiscussion:https://postgr.es/m/E1e1gR2-0005fB-SI@gemulon.postgresql.org1 parentfa5e119 commitfffd651
File tree
10 files changed
+77
-47
lines changed- src
- backend/utils/mmgr
- common
- include
- common
- port
10 files changed
+77
-47
lines changedLines changed: 24 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8777 | 8777 |
| |
8778 | 8778 |
| |
8779 | 8779 |
| |
8780 |
| - | |
| 8780 | + | |
8781 | 8781 |
| |
8782 | 8782 |
| |
8783 | 8783 |
| |
| |||
13161 | 13161 |
| |
13162 | 13162 |
| |
13163 | 13163 |
| |
| 13164 | + | |
| 13165 | + | |
| 13166 | + | |
| 13167 | + | |
| 13168 | + | |
| 13169 | + | |
| 13170 | + | |
| 13171 | + | |
| 13172 | + | |
| 13173 | + | |
13164 | 13174 |
| |
13165 | 13175 |
| |
13166 | 13176 |
| |
| |||
13528 | 13538 |
| |
13529 | 13539 |
| |
13530 | 13540 |
| |
| 13541 | + | |
| 13542 | + | |
| 13543 | + | |
| 13544 | + | |
| 13545 | + | |
| 13546 | + | |
| 13547 | + | |
| 13548 | + | |
| 13549 | + | |
| 13550 | + | |
| 13551 | + | |
| 13552 | + | |
| 13553 | + | |
13531 | 13554 |
| |
13532 | 13555 |
| |
13533 | 13556 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
961 | 961 |
| |
962 | 962 |
| |
963 | 963 |
| |
964 |
| - | |
| 964 | + | |
965 | 965 |
| |
966 | 966 |
| |
967 | 967 |
| |
| |||
1422 | 1422 |
| |
1423 | 1423 |
| |
1424 | 1424 |
| |
1425 |
| - | |
| 1425 | + | |
1426 | 1426 |
| |
1427 | 1427 |
| |
1428 | 1428 |
| |
| |||
1514 | 1514 |
| |
1515 | 1515 |
| |
1516 | 1516 |
| |
1517 |
| - | |
| 1517 | + | |
1518 | 1518 |
| |
1519 | 1519 |
| |
1520 | 1520 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 |
| - | |
25 | 24 |
| |
26 | 25 |
| |
27 | 26 |
| |
| |||
1089 | 1088 |
| |
1090 | 1089 |
| |
1091 | 1090 |
| |
1092 |
| - | |
| 1091 | + | |
1093 | 1092 |
| |
1094 | 1093 |
| |
1095 | 1094 |
| |
|
Lines changed: 0 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - |
Lines changed: 0 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 | 15 |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
147 | 147 |
| |
148 | 148 |
| |
149 | 149 |
| |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
150 | 154 |
| |
151 | 155 |
| |
152 | 156 |
| |
|
Lines changed: 7 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
99 | 99 |
| |
100 | 100 |
| |
101 | 101 |
| |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
102 | 106 |
| |
103 | 107 |
| |
104 | 108 |
| |
| |||
255 | 259 |
| |
256 | 260 |
| |
257 | 261 |
| |
| 262 | + | |
| 263 | + | |
| 264 | + | |
258 | 265 |
| |
259 | 266 |
| |
260 | 267 |
| |
| |||
345 | 352 |
| |
346 | 353 |
| |
347 | 354 |
| |
348 |
| - | |
349 |
| - | |
350 |
| - | |
351 | 355 |
| |
352 | 356 |
| |
353 | 357 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
406 | 406 |
| |
407 | 407 |
| |
408 | 408 |
| |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
409 | 413 |
| |
410 | 414 |
| |
411 | 415 |
| |
|
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 |
| - | |
47 |
| - | |
48 | 46 |
| |
49 | 47 |
| |
50 | 48 |
| |
| |||
804 | 802 |
| |
805 | 803 |
| |
806 | 804 |
| |
807 |
| - | |
| 805 | + | |
808 | 806 |
| |
809 | 807 |
| |
810 | 808 |
| |
|
Lines changed: 33 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + |
0 commit comments
Comments
(0)