mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 07:28:34 +00:00
@@ -467,11 +467,12 @@ bool put_bytes(FILE *fd, uintmax_t number, size_t len)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Writes time_t to file "fd" in 8 bytes.
|
/// Writes time_t to file "fd" in 8 bytes.
|
||||||
void put_time(FILE *fd, time_t time_)
|
/// @returns FAIL when the write failed.
|
||||||
|
int put_time(FILE *fd, time_t time_)
|
||||||
{
|
{
|
||||||
uint8_t buf[8];
|
uint8_t buf[8];
|
||||||
time_to_bytes(time_, buf);
|
time_to_bytes(time_, buf);
|
||||||
(void)fwrite(buf, sizeof(uint8_t), ARRAY_SIZE(buf), fd);
|
return fwrite(buf, sizeof(uint8_t), ARRAY_SIZE(buf), fd) == 1 ? OK : FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Writes time_t to "buf[8]".
|
/// Writes time_t to "buf[8]".
|
||||||
|
@@ -623,7 +623,7 @@ static int included_patches[] = {
|
|||||||
// 1064,
|
// 1064,
|
||||||
// 1063 NA
|
// 1063 NA
|
||||||
// 1062 NA
|
// 1062 NA
|
||||||
// 1061,
|
1061,
|
||||||
// 1060 NA
|
// 1060 NA
|
||||||
1059,
|
1059,
|
||||||
// 1058,
|
// 1058,
|
||||||
|
Reference in New Issue
Block a user