summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aa7e680)
raw | patch | inline | side by side (parent: aa7e680)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 18 May 2004 18:51:55 +0000 (18:51 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 18 May 2004 18:51:55 +0000 (18:51 +0000) |
src/rrd_restore.c | patch | blob | history |
diff --git a/src/rrd_restore.c b/src/rrd_restore.c
index 89f34c2753917f2d6a5e67eec1a1982ac6ecdb0c..36372b3bb2499e5aa5cd89309373592f628db3ca 100644 (file)
--- a/src/rrd_restore.c
+++ b/src/rrd_restore.c
rrd_file= stdout;
} else {
#ifdef WIN32
- fdflags = O_RDWR|O_BINARY|O_CREAT|O_EXCL;
+ fdflags = O_RDWR|O_BINARY|O_CREAT;
#else
- fdflags = O_WRONLY|O_CREAT|O_EXCL;
+ fdflags = O_WRONLY|O_CREAT;
#endif
if (force_overwrite == 0) {
fdflags |= O_EXCL;