summaryrefslogtreecommitdiff
path: root/ace/System_Time.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-09-02 22:33:20 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-09-02 22:33:20 +0000
commitf1117636ec6b468063ba09a51ef547540413e21b (patch)
tree0824ba2a7b9aef26bc861bbf491a16f21b0467d0 /ace/System_Time.cpp
parent2e4202e231eddfb2648c79bfd8784ecc9b4904a8 (diff)
downloadATCD-f1117636ec6b468063ba09a51ef547540413e21b.tar.gz
ChangeLogTag:Sat Sep 1 14:10:08 2001 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'ace/System_Time.cpp')
-rw-r--r--ace/System_Time.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/ace/System_Time.cpp b/ace/System_Time.cpp
index 983ae3ad04e..9e2f2b69380 100644
--- a/ace/System_Time.cpp
+++ b/ace/System_Time.cpp
@@ -35,10 +35,9 @@ ACE_System_Time::ACE_System_Time (const ACE_TCHAR *poolname)
#endif /* ACE_DEFAULT_BACKING_STORE */
}
else
- ACE_OS::strncpy (this->poolname_,
- poolname,
- (sizeof this->poolname_ / sizeof (ACE_TCHAR)));
-
+ ACE_OS::strsncpy (this->poolname_,
+ poolname,
+ (sizeof this->poolname_ / sizeof (ACE_TCHAR)));
ACE_NEW (this->shmem_,
ALLOCATOR (this->poolname_));