Mercurial > vim
comparison src/structs.h @ 25953:d7e1cf30728c v8.2.3510
patch 8.2.3510: changes are only detected with one second accuracy
Commit: https://github.com/vim/vim/commit/0a7984af5601323fae7b3398f05a48087db7b767
Author: Leah Neukirchen <leah@vuxu.org>
Date: Thu Oct 14 21:27:55 2021 +0100
patch 8.2.3510: changes are only detected with one second accuracy
Problem: Changes are only detected with one second accuracy.
Solution: Use the nanosecond time if possible. (Leah Neukirchen,
closes #8873, closes #8875)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 14 Oct 2021 22:30:04 +0200 |
parents | 8e9864b98846 |
children | 46205b125fbd |
comparison
equal
deleted
inserted
replaced
25952:7eded0585ee0 | 25953:d7e1cf30728c |
---|---|
2722 // negative when lines were deleted | 2722 // negative when lines were deleted |
2723 | 2723 |
2724 wininfo_T *b_wininfo; // list of last used info for each window | 2724 wininfo_T *b_wininfo; // list of last used info for each window |
2725 | 2725 |
2726 long b_mtime; // last change time of original file | 2726 long b_mtime; // last change time of original file |
2727 long b_mtime_ns; // nanoseconds of last change time | |
2727 long b_mtime_read; // last change time when reading | 2728 long b_mtime_read; // last change time when reading |
2729 long b_mtime_read_ns; // nanoseconds of last read time | |
2728 off_T b_orig_size; // size of original file in bytes | 2730 off_T b_orig_size; // size of original file in bytes |
2729 int b_orig_mode; // mode of original file | 2731 int b_orig_mode; // mode of original file |
2730 #ifdef FEAT_VIMINFO | 2732 #ifdef FEAT_VIMINFO |
2731 time_T b_last_used; // time when the buffer was last used; used | 2733 time_T b_last_used; // time when the buffer was last used; used |
2732 // for viminfo | 2734 // for viminfo |