+Tue Sep 18 18:21:00 2001 Corinna Vinschen <corinna@vinschen.de>
+
+ * mmap.cc (mmap): Don't reuse anonymous memory in MAP_FIXED case.
+
Mon Sep 17 17:29:25 2001 Christopher Faylor <cgf@cygnus.com>
* include/io.h: Add access declaration.
/* First check if this mapping matches into the chunk of another
already performed mapping. Only valid for MAP_ANON in a special
case of MAP_PRIVATE. */
- if (l && fd == -1 && off == 0)
+ if (l && fd == -1 && off == 0 && !(flags & MAP_FIXED))
{
mmap_record *rec;
if ((rec = l->match (off, len)) != NULL)