summaryrefslogtreecommitdiff
path: root/file_io
diff options
context:
space:
mode:
authorclar <clar@13f79535-47bb-0310-9956-ffa450edef68>2004-10-08 21:52:20 +0000
committerclar <clar@13f79535-47bb-0310-9956-ffa450edef68>2004-10-08 21:52:20 +0000
commitcfebfe00d6e496147214e1bc1253dd283d9c4f79 (patch)
tree96e246ef6e88ca6614a025f1449b90e0bbec6249 /file_io
parent0eefb9a4a2f048a46a0bee598254893ddf3bc791 (diff)
downloadlibapr-cfebfe00d6e496147214e1bc1253dd283d9c4f79.tar.gz
removed the O_EXCL bit from the passed-in flag to allow create then open on temp file
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@65365 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io')
-rw-r--r--file_io/netware/mktemp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file_io/netware/mktemp.c b/file_io/netware/mktemp.c
index 884a8c40b..58e89386b 100644
--- a/file_io/netware/mktemp.c
+++ b/file_io/netware/mktemp.c
@@ -27,7 +27,7 @@ APR_DECLARE(apr_status_t) apr_file_mktemp(apr_file_t **fp, char *template, apr_i
apr_status_t rv;
flags = (!flags) ? APR_CREATE | APR_READ | APR_WRITE |
- APR_DELONCLOSE : flags;
+ APR_DELONCLOSE : flags & ~APR_EXCL;
fd = mkstemp(template);
if (fd == -1) {