Thread (1 message) 1 message, 1 author, 2016-06-15

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");
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help