mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2026-06-21 01:34:15 +02:00
use 0 instead of BUFSIZ
This commit is contained in:
+1
-1
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user