summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--freebsd-userspace/lib/libc/db/recno/rec_close.c4
-rw-r--r--libbsd.txt9
2 files changed, 12 insertions, 1 deletions
diff --git a/freebsd-userspace/lib/libc/db/recno/rec_close.c b/freebsd-userspace/lib/libc/db/recno/rec_close.c
index 2a78d2d4..388ee4a9 100644
--- a/freebsd-userspace/lib/libc/db/recno/rec_close.c
+++ b/freebsd-userspace/lib/libc/db/recno/rec_close.c
@@ -77,9 +77,11 @@ __rec_close(DB *dbp)
/* Committed to closing. */
status = RET_SUCCESS;
+
+#ifndef __rtems__ /* XXX */
if (F_ISSET(t, R_MEMMAPPED) && munmap(t->bt_smap, t->bt_msize))
status = RET_ERROR;
-
+#endif
if (!F_ISSET(t, R_INMEM)) {
if (F_ISSET(t, R_CLOSEFP)) {
if (fclose(t->bt_rfp))
diff --git a/libbsd.txt b/libbsd.txt
index 8eb063d3..c0582e78 100644
--- a/libbsd.txt
+++ b/libbsd.txt
@@ -775,3 +775,12 @@ E1000 EM _bsd_em_pcimodule_sys_init Links
Symbols (A)
pci_get_vpd_ident
+
+== Problems to report to FreeBSD ==
+
+The MMAP_NOT_AVAILABLE define is inverted on its usage. When it is
+defined the mmap method is called. Additionally, it is not used
+thoroughly. It is not used in the unmap portion of the source.
+
+
+