forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita1f45f6
committed
Remove obsolete coding for early macOS.
Commits04cad8f and0c08856 supported old macOS systems that didn'tdefine O_CLOEXEC or O_DSYNC yet, but those arrived in macOS releases10.7 and 10.6 (respectively), which themselves reached EOL around adecade ago. We've already made use of other POSIX features that earlymacOS vintages can't compile (for example commits623cc67,d2e1508).A later commit will use O_CLOEXEC on POSIX systems so it would bestrange to pretend here that it's optional, and we might as well giveO_DSYNC the same treatment since the reference is also guarded by a testfor a macOS-specific macro, and we know that current Macs have it.Discussion:https://postgr.es/m/CA%2BhUKGKb6FsAdQWcRL35KJsftv%2B9zXqQbzwkfRf1i0J2e57%2BhQ%40mail.gmail.com1 parent8427ce4 commita1f45f6
1 file changed
+2
-9
lines changedLines changed: 2 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1025 | 1025 |
| |
1026 | 1026 |
| |
1027 | 1027 |
| |
| 1028 | + | |
1028 | 1029 |
| |
| 1030 | + | |
1029 | 1031 |
| |
1030 | 1032 |
| |
1031 | 1033 |
| |
1032 | 1034 |
| |
1033 | 1035 |
| |
1034 | 1036 |
| |
1035 | 1037 |
| |
1036 |
| - | |
1037 |
| - | |
1038 |
| - | |
1039 |
| - | |
1040 |
| - | |
1041 |
| - | |
1042 |
| - | |
1043 |
| - | |
1044 |
| - | |
1045 | 1038 |
| |
1046 | 1039 |
| |
1047 | 1040 |
| |
|
0 commit comments
Comments
(0)