mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2024-11-24 08:52:38 +02:00
... win fix
This commit is contained in:
parent
2640ec6da0
commit
b0472a76b5
@ -2721,7 +2721,7 @@ fio_send_file_write(FILE* out, send_file_state* st, char *buf, size_t len)
|
|||||||
if (st->read_size > st->write_size &&
|
if (st->read_size > st->write_size &&
|
||||||
_chsize_s(fileno(out), st->read_size) != 0)
|
_chsize_s(fileno(out), st->read_size) != 0)
|
||||||
{
|
{
|
||||||
elog(WARNING, "Could not change file size to %lld: %m", st->read_size)
|
elog(WARNING, "Could not change file size to %lld: %m", st->read_size);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user