summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c597537)
raw | patch | inline | side by side (parent: c597537)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 26 Dec 2010 16:04:03 +0000 (16:04 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 26 Dec 2010 16:04:03 +0000 (16:04 +0000) |
src/rrd_open.c | patch | blob | history |
diff --git a/src/rrd_open.c b/src/rrd_open.c
index 78d517458861a5fac58b5e9e9064fcf43f12e537..5f3723f30cef086d44c6bab4a3c434b1d74e6507 100644 (file)
--- a/src/rrd_open.c
+++ b/src/rrd_open.c
if (rdwr & RRD_READONLY) {
flags |= O_RDONLY;
#ifdef HAVE_MMAP
+# if !defined(AIX)
rrd_simple_file->mm_flags = MAP_PRIVATE;
+# endif
# ifdef MAP_NORESERVE
rrd_simple_file->mm_flags |= MAP_NORESERVE; /* readonly, so no swap backing needed */
# endif