diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-07-08 11:26:03 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-07-08 14:17:22 +0800 |
commit | 159a0b651ff27fc5610ba8630b92d31f79664f4d (patch) | |
tree | 01c1d45435f023caa77d47ba76b3d1e64f48f1de /src/nvim/ex_cmds2.h | |
parent | eafa09de7d4129fee10e0558ee8e47a49758f0fe (diff) | |
download | rneovim-159a0b651ff27fc5610ba8630b92d31f79664f4d.tar.gz rneovim-159a0b651ff27fc5610ba8630b92d31f79664f4d.tar.bz2 rneovim-159a0b651ff27fc5610ba8630b92d31f79664f4d.zip |
vim-patch:8.2.0151: detecting a script was already sourced is unreliable
Problem: Detecting a script was already sourced is unreliable.
Solution: Do not use the inode number.
https://github.com/vim/vim/commit/978d170bdce9c0a47e6683cd7c288bc2706f3fff
Diffstat (limited to 'src/nvim/ex_cmds2.h')
-rw-r--r-- | src/nvim/ex_cmds2.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nvim/ex_cmds2.h b/src/nvim/ex_cmds2.h index 74e52dfb4b..c463bfa5ab 100644 --- a/src/nvim/ex_cmds2.h +++ b/src/nvim/ex_cmds2.h @@ -15,12 +15,8 @@ #define CCGD_ALLBUF 8 // may write all buffers #define CCGD_EXCMD 16 // may suggest using ! -/// Also store the dev/ino, so that we don't have to stat() each -/// script when going through the list. typedef struct scriptitem_S { char_u *sn_name; - bool file_id_valid; - FileID file_id; bool sn_prof_on; ///< true when script is/was profiled bool sn_pr_force; ///< forceit: profile functions in this script proftime_T sn_pr_child; ///< time set when going into first child |