From 4ebfd8bb122d5cd70db8a394ddd567ddc89471c8 Mon Sep 17 00:00:00 2001 From: Vlad Khorsun Date: Tue, 14 May 2024 18:02:41 +0300 Subject: [PATCH] Attempt to fix #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 a946e3e96d..0763eb9bbf 100644 --- a/src/common/os/posix/os_utils.cpp +++ b/src/common/os/posix/os_utils.cpp @@ -363,7 +363,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)) ; } }