Mercurial > vim
comparison src/os_unix.h @ 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 | 22f0dda71638 |
children | bdda90ed5f6c |
comparison
equal
deleted
inserted
replaced
20310:fb099a566102 | 20311:05b4efb062a7 |
---|---|
202 # ifdef FEAT_GUI_GTK | 202 # ifdef FEAT_GUI_GTK |
203 # include "gui_gtk_vms.h" | 203 # include "gui_gtk_vms.h" |
204 # endif | 204 # endif |
205 #endif | 205 #endif |
206 | 206 |
207 #ifdef HAVE_FLOCK | |
208 # include <sys/file.h> | |
209 #endif | |
210 | |
207 #endif // PROTO | 211 #endif // PROTO |
208 | 212 |
209 #ifdef VMS | 213 #ifdef VMS |
210 typedef struct dsc$descriptor DESC; | 214 typedef struct dsc$descriptor DESC; |
211 #endif | 215 #endif |