1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-11 11:41:33 +02:00

use 0 instead of BUFSIZ

This commit is contained in:
Grigory Smolkin 2021-03-29 14:02:13 +03:00
parent 3813726bbd
commit 15c90460fd

View File

@ -2156,7 +2156,7 @@ get_data_file_headers(HeaderMap *hdr_map, pgFile *file, uint32 backup_version, b
return NULL;
}
/* disable buffering for header file */
setvbuf(in, NULL, _IONBF, BUFSIZ);
setvbuf(in, NULL, _IONBF, 0);
if (fseek(in, file->hdr_off, SEEK_SET))
{