comparison src/globals.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 06a1dd50463e
children e29b2ec8d4d2
comparison
equal deleted inserted replaced
20310:fb099a566102 20311:05b4efb062a7
756 EXTERN int ru_wid; // 'rulerfmt' width of ruler when non-zero 756 EXTERN int ru_wid; // 'rulerfmt' width of ruler when non-zero
757 #endif 757 #endif
758 EXTERN int sc_col; // column for shown command 758 EXTERN int sc_col; // column for shown command
759 759
760 #ifdef TEMPDIRNAMES 760 #ifdef TEMPDIRNAMES
761 # if defined(UNIX) && defined(HAVE_FLOCK) && defined(HAVE_DIRFD)
762 EXTERN DIR *vim_tempdir_dp INIT(= NULL); // File descriptor of temp dir
763 # endif
761 EXTERN char_u *vim_tempdir INIT(= NULL); // Name of Vim's own temp dir. 764 EXTERN char_u *vim_tempdir INIT(= NULL); // Name of Vim's own temp dir.
762 // Ends in a slash. 765 // Ends in a slash.
763 #endif 766 #endif
764 767
765 /* 768 /*