mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
Linting.
This commit is contained in:
@@ -2373,8 +2373,9 @@ static FILE *fopen_noinh_readbin(char *filename)
|
||||
# ifdef HAVE_FD_CLOEXEC
|
||||
{
|
||||
int fdflags = fcntl(fd_tmp, F_GETFD);
|
||||
if (fdflags >= 0 && (fdflags & FD_CLOEXEC) == 0)
|
||||
if (fdflags >= 0 && (fdflags & FD_CLOEXEC) == 0) {
|
||||
(void)fcntl(fd_tmp, F_SETFD, fdflags | FD_CLOEXEC);
|
||||
}
|
||||
}
|
||||
# endif
|
||||
|
||||
|
Reference in New Issue
Block a user