1
0
forked from aniani/vim

patch 7.4.1955

Problem:    Using 32-bit Perl with 64-bit time_t causes memory corruption.
            (Christian Brabandt)
Solution:   Use time_T instead of time_t for global variables. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2016-06-26 16:44:24 +02:00
parent d388d2ac8b
commit f4fba6dcd5
8 changed files with 34 additions and 21 deletions

View File

@@ -2850,7 +2850,7 @@ write_viminfo_barlines(vir_T *virp, FILE *fp_out)
* Return the current time in seconds. Calls time(), unless test_settime()
* was used.
*/
time_t
time_T
vim_time(void)
{
# ifdef FEAT_EVAL