summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5f1697a)
raw | patch | inline | side by side (parent: 5f1697a)
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) |
program/src/rrd_open.c | patch | blob | history |
diff --git a/program/src/rrd_open.c b/program/src/rrd_open.c
index 8e268478ddaae225ec4a0df2837fdfdb2dbfe6ba..ade18488c4554bb52bf3f96879f5041fb1103f88 100644 (file)
--- a/program/src/rrd_open.c
+++ b/program/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