Re: comparing file contents in is_exact_match?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 16, 2006, 14:00 UTC
- Message-ID
- <Pine.LNX.4.63.0607161559010.29667@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <87fyh1ncm0.fsf@mid.deneb.enyo.de>
Hi,
On Sun, 16 Jul 2006, Florian Weimer wrote:
Show 14 quoted lines
> * Johannes Schindelin: > > > 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. > > Are these Cygwin setups running on top of the Windows 95 code base by > chance?
No. One is Windows2000, the other WindowsXP, and both need the NO_MMAP set. For obvious reasons, NO_MMAP does not support MAP_SHARED...
Ciao, Dscho