diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-02 16:53:13 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-02 16:53:13 +0100 |
commit | a72514945bc3edd4fc4d745004e37c5d5487c98d (patch) | |
tree | 8be6f3c985e10ae5c3741e5af54beab49a54648b /src/fileio.c | |
parent | 7e6a515ed14e204fafb3dd6e98f2fb543e64aedd (diff) | |
download | vim-git-a72514945bc3edd4fc4d745004e37c5d5487c98d.tar.gz |
patch 8.2.2276: list of distributed files is outdatedv8.2.2276
Problem: List of distributed files is outdated.
Solution: Update the file list. Minor comment updates.
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index 66061680b..b3b7100d6 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2280,6 +2280,7 @@ failed: else { int fdflags = fcntl(fd, F_GETFD); + if (fdflags >= 0 && (fdflags & FD_CLOEXEC) == 0) (void)fcntl(fd, F_SETFD, fdflags | FD_CLOEXEC); } |