summaryrefslogtreecommitdiff
path: root/ace/FILE_Connector.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2001-07-08 18:30:28 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2001-07-08 18:30:28 +0000
commit87af01d802993144e958cca2a557dbc7552b5216 (patch)
tree8ea150310acfced3a7ff5369d9e20440653807b2 /ace/FILE_Connector.h
parentb11645b8bbbe0228e7c4e8407910827096b9f006 (diff)
downloadATCD-87af01d802993144e958cca2a557dbc7552b5216.tar.gz
Sun Jul 08 11:26:23 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'ace/FILE_Connector.h')
-rw-r--r--ace/FILE_Connector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/FILE_Connector.h b/ace/FILE_Connector.h
index 0675b3ff584..6880d2c9a35 100644
--- a/ace/FILE_Connector.h
+++ b/ace/FILE_Connector.h
@@ -54,7 +54,7 @@ public:
ACE_Time_Value *timeout = 0,
const ACE_Addr &local_sap = ACE_Addr::sap_any,
int reuse_addr = 0,
- int flags = O_RDWR | O_CREAT,
+ int flags = O_RDWR | O_CREAT | O_EXCL,
int perms = ACE_DEFAULT_FILE_PERMS);
/**
@@ -78,7 +78,7 @@ public:
ACE_Time_Value *timeout = 0,
const ACE_Addr &local_sap = ACE_Addr::sap_any,
int reuse_addr = 0,
- int flags = O_RDWR | O_CREAT,
+ int flags = O_RDWR | O_CREAT | O_EXCL,
int perms = ACE_DEFAULT_FILE_PERMS);
/// Resets any event associations on this handle