From: Junio C Hamano Date: Sat, 11 Aug 2007 00:31:20 GMT Subject: Re: [PATCH] builtin-bundle - use buffered reads for bundle header Message-ID: <7vk5s2rjxj.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <11867920441883-git-send-email-mdl123@verizon.net> 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");