login
Header Space

 
 

Re: [PATCH] builtin-bundle - use buffered reads for bundle header

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mark Levedahl <mdl123@...>
Cc: Johannes Schindelin <Johannes.Schindelin@...>, Git Mailing List <git@...>
Date: Friday, August 10, 2007 - 8:31 pm

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");


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] builtin-bundle - use buffered reads for bundle h..., Junio C Hamano, (Fri Aug 10, 8:31 pm)
speck-geostationary