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:
parent
3813726bbd
commit
15c90460fd
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user