commit | a72514945bc3edd4fc4d745004e37c5d5487c98d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jan 02 16:53:13 2021 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jan 02 16:53:13 2021 +0100 |
tree | 8be6f3c985e10ae5c3741e5af54beab49a54648b | |
parent | 7e6a515ed14e204fafb3dd6e98f2fb543e64aedd [diff] [blame] |
patch 8.2.2276: list of distributed files is outdated Problem: List of distributed files is outdated. Solution: Update the file list. Minor comment updates.
diff --git a/src/fileio.c b/src/fileio.c index 6606168..b3b7100 100644 --- a/src/fileio.c +++ b/src/fileio.c
@@ -2280,6 +2280,7 @@ else { int fdflags = fcntl(fd, F_GETFD); + if (fdflags >= 0 && (fdflags & FD_CLOEXEC) == 0) (void)fcntl(fd, F_SETFD, fdflags | FD_CLOEXEC); }