From cd1d6ce3eaf4c8729f979e67f567c8cb2144f7e2 Mon Sep 17 00:00:00 2001 From: Vlad Khorsun Date: Wed, 29 May 2024 15:29:44 +0300 Subject: [PATCH] Backport fix for #8110 : Firebird 5 crash On Android API level 34 --- src/common/os/posix/os_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/os/posix/os_utils.cpp b/src/common/os/posix/os_utils.cpp index 23c9cf0033..c2f928c870 100644 --- a/src/common/os/posix/os_utils.cpp +++ b/src/common/os/posix/os_utils.cpp @@ -320,7 +320,7 @@ void setCloseOnExec(int fd) { if (fd >= 0) { - while (fcntl(fd, F_SETFD, O_CLOEXEC) < 0 && SYSCALL_INTERRUPTED(errno)) + while (fcntl(fd, F_SETFD, FD_CLOEXEC) < 0 && SYSCALL_INTERRUPTED(errno)) ; } }