summaryrefslogtreecommitdiff
path: root/ace/Naming_Context.cpp
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-09-20 19:04:19 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-09-20 19:04:19 +0000
commit2060687536c91f24e7bb65fa5b736d6ee4c99ec3 (patch)
treef6362ad44f43a5709aa6dfe1706fbd5e2e47564d /ace/Naming_Context.cpp
parent2e69153ee4578068fa6d52001411a87d52274fc5 (diff)
downloadATCD-2060687536c91f24e7bb65fa5b736d6ee4c99ec3.tar.gz
ChangeLogTag:Wed Sep 20 12:00:42 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'ace/Naming_Context.cpp')
-rw-r--r--ace/Naming_Context.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/Naming_Context.cpp b/ace/Naming_Context.cpp
index 4c2f4da2b79..c6f16d9db2b 100644
--- a/ace/Naming_Context.cpp
+++ b/ace/Naming_Context.cpp
@@ -6,6 +6,7 @@
#include "ace/Local_Name_Space_T.h"
#include "ace/Registry_Name_Space.h"
#include "ace/Memory_Pool.h"
+#include "ace/RW_Process_Mutex.h"
ACE_RCSID(ace, Naming_Context, "$Id$")
@@ -417,10 +418,10 @@ ACE_Name_Options::ACE_Name_Options (void)
#else /* ACE_DEFAULT_NAMESPACE_DIR */
size_t pathsize = (MAXPATHLEN + 1) * sizeof (ACE_TCHAR);
this->namespace_dir_ = ACE_static_cast (ACE_TCHAR *, ACE_OS::malloc (pathsize));
-
- if (ACE::get_temp_dir (this->namespace_dir_, MAXPATHLEN) == -1)
+
+ if (ACE::get_temp_dir (this->namespace_dir_, MAXPATHLEN) == -1)
{
- ACE_ERROR ((LM_ERROR,
+ ACE_ERROR ((LM_ERROR,
ACE_TEXT ("Temporary path too long, ")
ACE_TEXT ("defaulting to current directory\n")));
ACE_OS::strcat (this->namespace_dir_, ACE_TEXT ("."));
@@ -680,4 +681,3 @@ template class ACE_Name_Space_Map <ACE_Allocator_Adapter <ACE_Malloc <ACE_LITE_M
#pragma instantiate ACE_Name_Space_Map <ACE_Allocator_Adapter <ACE_Malloc <ACE_MMAP_MEMORY_POOL, ACE_RW_Process_Mutex> > >
#pragma instantiate ACE_Name_Space_Map <ACE_Allocator_Adapter <ACE_Malloc <ACE_LITE_MMAP_MEMORY_POOL, ACE_RW_Process_Mutex> > >
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-