- (bal) fixed NeXTStep missing munmap() issue. It defines HAVE_MMAP,

but it all damned lies.
This commit is contained in:
Ben Lindstrom 2002-06-26 00:29:02 +00:00
Родитель e04ee923d9
Коммит 4e3c631b70
2 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -30,6 +30,8 @@
- (bal) added back in error check for mmap(). I screwed up, Pointed
out by stevesk@
- (tim) [README.privsep] UnixWare tip no longer needed.
- (bal) fixed NeXTStep missing munmap() issue. It defines HAVE_MMAP,
but it all damned lies.
20020625
- (stevesk) [INSTALL acconfig.h configure.ac defines.h] remove --with-rsh
@ -1129,4 +1131,4 @@
- (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
$Id: ChangeLog,v 1.2285 2002/06/26 00:25:47 tim Exp $
$Id: ChangeLog,v 1.2286 2002/06/26 00:29:02 mouring Exp $

Просмотреть файл

@ -130,12 +130,12 @@ mm_destroy(struct mm_master *mm)
mm_freelist(mm->mmalloc, &mm->rb_free);
mm_freelist(mm->mmalloc, &mm->rb_allocated);
#ifdef HAVE_MMAP
#ifdef HAVE_MMAP_ANON_SHARED
if (munmap(mm->address, mm->size) == -1)
fatal("munmap(%p, %lu): %s", mm->address, (u_long)mm->size,
strerror(errno));
#else
fatal("%s: UsePrivilegeSeparation=yes not supported",
fatal("%s: UsePrivilegeSeparation=yes and Compression=yes not supported",
__func__);
#endif
if (mm->mmalloc == NULL)