summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ef8bb43)
raw | patch | inline | side by side (parent: ef8bb43)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 5 Dec 2008 15:25:18 +0000 (15:25 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 5 Dec 2008 15:25:18 +0000 (15:25 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1698 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_open.c | patch | blob | history |
diff --git a/src/rrd_open.c b/src/rrd_open.c
index 2167051d0e508ab727d82b500dc888008700847d..9f1a61f5c7796c1431671d6b7950df2758d4e909 100644 (file)
--- a/src/rrd_open.c
+++ b/src/rrd_open.c
#ifdef HAVE_MMAP
mm_flags = MAP_SHARED;
mm_prot |= PROT_WRITE;
+#endif
}
if (rdwr & RRD_CREAT) {
flags |= (O_CREAT | O_TRUNC);