projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
now the fadvise code actually compiles ... let the testing begin.
[rrdtool.git]
/
src
/
rrd_create.c
diff --git
a/src/rrd_create.c
b/src/rrd_create.c
index
521c726
..
6f4c804
100644
(file)
--- a/
src/rrd_create.c
+++ b/
src/rrd_create.c
@@
-690,7
+690,7
@@
rrd_create_fn(const char *file_name, rrd_t *rrd)
return(-1);
}
-#ifdef POSIX_FADVISE
+#ifdef
HAVE_
POSIX_FADVISE
/* this file is not going to be read again any time
soon, so we drop everything except the header portion from
the buffer cache. for this to work, we have to fdsync the file