Re: [PATCH] builtin-bundle - use buffered reads for bundle header
From: Junio C Hamano <hidden> Date: 2016-06-15 22:43:28
Is this just me (I am writing this from an unfamiliar terminal),
or is your patch somehow breaks all indentation?
/* returns an fd */
static int read_header(const char *path, struct bundle_header *header) {
char buffer[1024];
- int fd = open(path, O_RDONLY);
+ int fd;
+ long fpos;
+ FILE *ffd = fopen(path, "r");