From: Johannes Schindelin Date: Sat, 08 Jul 2006 02:50:59 GMT Subject: Re: comparing file contents in is_exact_match? Message-ID: In-Reply-To: <87k66p8jee.fsf@mid.deneb.enyo.de> Hi, On Fri, 7 Jul 2006, Florian Weimer wrote: > - s->data = mmap(NULL, s->size, PROT_READ, MAP_PRIVATE, fd, 0); > + s->data = mmap(NULL, s->size, PROT_READ, MAP_SHARED, fd, 0); Be advised that this breaks setups with NO_MMAP, in particular most (all) cygwin setups I know of. Hth, Dscho