Mercurial > vim
comparison src/proto/fileio.pro @ 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 | 69055d27e85e |
children | 6ca2d8f4cd32 |
comparison
equal
deleted
inserted
replaced
25952:7eded0585ee0 | 25953:d7e1cf30728c |
---|---|
10 int set_rw_fname(char_u *fname, char_u *sfname); | 10 int set_rw_fname(char_u *fname, char_u *sfname); |
11 void msg_add_fname(buf_T *buf, char_u *fname); | 11 void msg_add_fname(buf_T *buf, char_u *fname); |
12 int msg_add_fileformat(int eol_type); | 12 int msg_add_fileformat(int eol_type); |
13 void msg_add_lines(int insert_space, long lnum, off_T nchars); | 13 void msg_add_lines(int insert_space, long lnum, off_T nchars); |
14 void msg_add_eol(void); | 14 void msg_add_eol(void); |
15 int time_differs(long t1, long t2); | 15 int time_differs(stat_T *st, long mtime, long mtime_ns); |
16 int need_conversion(char_u *fenc); | 16 int need_conversion(char_u *fenc); |
17 int get_fio_flags(char_u *ptr); | 17 int get_fio_flags(char_u *ptr); |
18 int get_win_fio_flags(char_u *ptr); | 18 int get_win_fio_flags(char_u *ptr); |
19 int get_mac_fio_flags(char_u *ptr); | 19 int get_mac_fio_flags(char_u *ptr); |
20 char_u *shorten_fname1(char_u *full_path); | 20 char_u *shorten_fname1(char_u *full_path); |