summaryrefslogtreecommitdiff
path: root/examples/IPC_SAP
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-11-19 02:56:11 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-11-19 02:56:11 +0000
commit33dcb4d2015f14836d30cb0cd9210a1b9fd25107 (patch)
treeabc47af5f737db7fb2b20c8796e68bf892832ee3 /examples/IPC_SAP
parenta6105988bbf7cd8132c095202aa739fba22c2551 (diff)
downloadATCD-33dcb4d2015f14836d30cb0cd9210a1b9fd25107.tar.gz
ChangeLogTag:Mon Nov 18 20:49:33 2002 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'examples/IPC_SAP')
-rw-r--r--examples/IPC_SAP/FILE_SAP/client.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/IPC_SAP/FILE_SAP/client.cpp b/examples/IPC_SAP/FILE_SAP/client.cpp
index 8a708955724..ea04ffed654 100644
--- a/examples/IPC_SAP/FILE_SAP/client.cpp
+++ b/examples/IPC_SAP/FILE_SAP/client.cpp
@@ -26,7 +26,8 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
ACE_FILE_Addr (argv[1]),
0,
ACE_Addr::sap_any, 0,
- O_RDWR|O_APPEND|O_CREAT, 0666) == -1)
+ O_RDWR|O_APPEND|O_CREAT,
+ ACE_DEFAULT_FILE_PERMS) == -1)
ACE_ERROR_RETURN ((LM_ERROR,
"%p\n to %s",
"connect",