Ignore:
Timestamp:
Sep 13, 2012, 7:03:35 PM (9 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
4.11, 5, 5-freebsd-12, 6-freebsd-12, freebsd-9.3, master
Children:
4ffe3f4
Parents:
ef97f34
Message:

rec_close.c: Removed usage of munmap() method.

Note that there is a define MMAP_NOT_AVAILABLE that when NOT
defined results in mmap not being called but munmap is still
called. A comment was also added to our notes about this.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd-userspace/lib/libc/db/recno/rec_close.c

    ref97f34 r99dc0d7  
    7878        /* Committed to closing. */
    7979        status = RET_SUCCESS;
     80
     81#ifndef __rtems__   /* XXX */
    8082        if (F_ISSET(t, R_MEMMAPPED) && munmap(t->bt_smap, t->bt_msize))
    8183                status = RET_ERROR;
    82 
     84#endif
    8385        if (!F_ISSET(t, R_INMEM)) {
    8486                if (F_ISSET(t, R_CLOSEFP)) {
Note: See TracChangeset for help on using the changeset viewer.