8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +01:00

Backport fix for #8110 : Firebird 5 crash On Android API level 34

This commit is contained in:
Vlad Khorsun 2024-05-29 15:29:44 +03:00
parent ecf3661ea2
commit cd1d6ce3ea

View File

@ -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))
;
}
}