diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-06-26 16:44:24 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-06-26 16:44:24 +0200 |
commit | f4fba6dcd508cb369ffa6916d9cb3fcf3d7ed548 (patch) | |
tree | eadfcc55dff51f143e33a228f91c9c60302fbd20 /src/proto/misc2.pro | |
parent | d388d2ac8bf8c770bf97dc406e99a20ba5104855 (diff) |
patch 7.4.1955v7.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)
Diffstat (limited to 'src/proto/misc2.pro')
-rw-r--r-- | src/proto/misc2.pro | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/proto/misc2.pro b/src/proto/misc2.pro index 676eb95700..573dee559e 100644 --- a/src/proto/misc2.pro +++ b/src/proto/misc2.pro @@ -103,11 +103,11 @@ int emsgn(char_u *s, long n); int get2c(FILE *fd); int get3c(FILE *fd); int get4c(FILE *fd); -time_t get8ctime(FILE *fd); +time_T get8ctime(FILE *fd); char_u *read_string(FILE *fd, int cnt); int put_bytes(FILE *fd, long_u nr, int len); -int put_time(FILE *fd, time_t the_time); -void time_to_bytes(time_t the_time, char_u *buf); +int put_time(FILE *fd, time_T the_time); +void time_to_bytes(time_T the_time, char_u *buf); int has_non_ascii(char_u *s); void parse_queued_messages(void); /* vim: set ft=c : */ |