On 12/6/05, Junio C Hamano <junkio@cox.net> wrote: > > ... return MAP_FAILED if error, do not > > exit process, do no output. > Ah, that is what you meant. I agree. now, while we agree, how about the patch removing "user interface" from gitfakemmap altogether? The patch is not really tested (running tests is not useful in this case), but I looked over the call sites, and they seem either to handle mmap's or the previous open's return values. One exception is in config.c where neither is handled, the code will race between stat and open. Signed-off-by: Alex Riesen <fork0@gmail.com> - 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
This archive was generated by hypermail 2.1.8 : 2005-12-06 19:07:48 EST