summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_Thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/OS_NS_Thread.cpp')
-rw-r--r--ACE/ace/OS_NS_Thread.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/ACE/ace/OS_NS_Thread.cpp b/ACE/ace/OS_NS_Thread.cpp
index e3e9532c5b3..1dff5ccf076 100644
--- a/ACE/ace/OS_NS_Thread.cpp
+++ b/ACE/ace/OS_NS_Thread.cpp
@@ -2552,16 +2552,6 @@ ACE_OS::event_init (ACE_event_t *event,
if (type == USYNC_PROCESS)
{
const char *name_p = name;
-# if defined (ACE_SHM_OPEN_REQUIRES_ONE_SLASH)
- char adj_name[MAXPATHLEN];
- if (name[0] != '/')
- {
- adj_name[0] = '/';
- ACE_OS::strsncpy (&adj_name[1], name, MAXPATHLEN-1);
- name_p = adj_name;
- }
-# endif /* ACE_SHM_OPEN_REQUIRES_ONE_SLASH */
-
bool owner = false;
// Let's see if the shared memory entity already exists.
ACE_HANDLE fd = ACE_OS::shm_open (ACE_TEXT_CHAR_TO_TCHAR (name_p),