forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2f31f40
committed
Constify the arguments of copydir.h functions
This makes sure that the internal logic of these functions does notattempt to change the value of the arguments constified, and it removesone unconstify() in basic_archive.c.Author: Nathan BossartReviewed-by: Andrew Dunstan, Peter EisentrautDiscussion:https://postgr.es/m/20230114231126.GA2580330@nathanxps131 parent09d465c commit2f31f40
File tree
3 files changed
+5
-5
lines changed- contrib/basic_archive
- src
- backend/storage/file
- include/storage
3 files changed
+5
-5
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
275 | 275 |
| |
276 | 276 |
| |
277 | 277 |
| |
278 |
| - | |
| 278 | + | |
279 | 279 |
| |
280 | 280 |
| |
281 | 281 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
| 37 | + | |
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
| |||
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
117 |
| - | |
| 117 | + | |
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
17 |
| - | |
| 16 | + | |
| 17 | + | |
18 | 18 |
| |
19 | 19 |
|
0 commit comments
Comments
(0)