use 0 instead of BUFSIZ

This commit is contained in:
Grigory Smolkin
2021-03-29 14:02:13 +03:00
parent 3813726bbd
commit 15c90460fd
+1 -1
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))
{