Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit04cad8f

Browse files
committed
Adjust commit2dbe890 for ancient macOS.
A couple of open flags used in an assertion didn't exist in macOS 10.4.Per build farm animal prairiedog. Also add O_EXCL while here (there area few more standard flags but they're not relevant and likely to bemissing).
1 parentd121663 commit04cad8f

File tree

1 file changed

+5
-0
lines changed
  • src/backend/storage/file

1 file changed

+5
-0
lines changed

‎src/backend/storage/file/fd.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,9 +1065,14 @@ BasicOpenFilePerm(const char *fileName, int fileFlags, mode_t fileMode)
10651065
*/
10661066
StaticAssertStmt((PG_O_DIRECT&
10671067
(O_APPEND |
1068+
#if defined(O_CLOEXEC)
10681069
O_CLOEXEC |
1070+
#endif
10691071
O_CREAT |
1072+
#if defined(O_DSYNC)
10701073
O_DSYNC |
1074+
#endif
1075+
O_EXCL |
10711076
O_RDWR |
10721077
O_RDONLY |
10731078
O_SYNC |

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp