Mercurial > vim
comparison src/configure.ac @ 20311:05b4efb062a7 v8.2.0711
patch 8.2.0711: temp directory might be cleared
Commit: https://github.com/vim/vim/commit/b2d0e51366dea6843f991f31a457f5456d162678
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 7 18:37:03 2020 +0200
patch 8.2.0711: temp directory might be cleared
Problem: With a long running Vim the temp directory might be cleared on
some systems.
Solution: Lock the temp directory. (closes #6044)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 07 May 2020 18:45:03 +0200 |
parents | 4470e19bc790 |
children | 4411c2b96af9 |
comparison
equal
deleted
inserted
replaced
20310:fb099a566102 | 20311:05b4efb062a7 |
---|---|
4058 AC_MSG_CHECKING(for rename) | 4058 AC_MSG_CHECKING(for rename) |
4059 AC_TRY_LINK([#include <stdio.h>], [rename("this", "that")], | 4059 AC_TRY_LINK([#include <stdio.h>], [rename("this", "that")], |
4060 AC_MSG_RESULT(yes); AC_DEFINE(HAVE_RENAME), | 4060 AC_MSG_RESULT(yes); AC_DEFINE(HAVE_RENAME), |
4061 AC_MSG_RESULT(no)) | 4061 AC_MSG_RESULT(no)) |
4062 | 4062 |
4063 dnl check for dirfd() | |
4064 AC_MSG_CHECKING(for dirfd) | |
4065 AC_TRY_COMPILE( | |
4066 [#include <sys/types.h> | |
4067 #include <dirent.h>], | |
4068 [DIR * dir=opendir("dirname"); dirfd(dir);], | |
4069 AC_MSG_RESULT(yes); AC_DEFINE(HAVE_DIRFD), AC_MSG_RESULT(not usable)) | |
4070 | |
4071 dnl check for flock() | |
4072 AC_MSG_CHECKING(for flock) | |
4073 AC_TRY_COMPILE( | |
4074 [#include <sys/file.h>], | |
4075 [flock(10, LOCK_SH);], | |
4076 AC_MSG_RESULT(yes); AC_DEFINE(HAVE_FLOCK), AC_MSG_RESULT(not usable)) | |
4077 | |
4063 dnl sysctl() may exist but not the arguments we use | 4078 dnl sysctl() may exist but not the arguments we use |
4064 AC_MSG_CHECKING(for sysctl) | 4079 AC_MSG_CHECKING(for sysctl) |
4065 AC_TRY_COMPILE( | 4080 AC_TRY_COMPILE( |
4066 [#include <sys/types.h> | 4081 [#include <sys/types.h> |
4067 #include <sys/sysctl.h>], | 4082 #include <sys/sysctl.h>], |