Mercurial > vim
comparison src/proto/memline.pro @ 17135:d03a52e02f1a v8.1.1567
patch 8.1.1567: localtime_r() does not respond to $TZ changes
commit https://github.com/vim/vim/commit/db51730df1817fc4b6ecf5a065c69fac518ad821
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 18 22:53:24 2019 +0200
patch 8.1.1567: localtime_r() does not respond to $TZ changes
Problem: Localtime_r() does not respond to $TZ changes.
Solution: If $TZ changes then call tzset(). (Tom Ryder)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 18 Jun 2019 23:00:07 +0200 |
parents | b52ea9c5f1db |
children | a961efb326e5 |
comparison
equal
deleted
inserted
replaced
17134:afef6986c785 | 17135:d03a52e02f1a |
---|---|
11 void ml_timestamp(buf_T *buf); | 11 void ml_timestamp(buf_T *buf); |
12 void ml_recover(int checkext); | 12 void ml_recover(int checkext); |
13 int recover_names(char_u *fname, int list, int nr, char_u **fname_out); | 13 int recover_names(char_u *fname, int list, int nr, char_u **fname_out); |
14 char_u *make_percent_swname(char_u *dir, char_u *name); | 14 char_u *make_percent_swname(char_u *dir, char_u *name); |
15 void get_b0_dict(char_u *fname, dict_T *d); | 15 void get_b0_dict(char_u *fname, dict_T *d); |
16 struct tm *vim_localtime(const time_t *timep, struct tm *result); | |
16 char *get_ctime(time_t thetime, int add_newline); | 17 char *get_ctime(time_t thetime, int add_newline); |
17 void ml_sync_all(int check_file, int check_char); | 18 void ml_sync_all(int check_file, int check_char); |
18 void ml_preserve(buf_T *buf, int message); | 19 void ml_preserve(buf_T *buf, int message); |
19 char_u *ml_get(linenr_T lnum); | 20 char_u *ml_get(linenr_T lnum); |
20 char_u *ml_get_pos(pos_T *pos); | 21 char_u *ml_get_pos(pos_T *pos); |