diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-01-28 04:16:28 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-01-28 04:16:28 +0000 |
commit | 1fac915d7b1c8329763d6eff13ab8fce6664e17a (patch) | |
tree | 792936678e861d954bb4855821cb449b73549781 /ace/Memory_Pool.cpp | |
parent | 41bf58be18739057345a0c70dea2eb57cdba5fcc (diff) | |
download | ATCD-1fac915d7b1c8329763d6eff13ab8fce6664e17a.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Memory_Pool.cpp')
-rw-r--r-- | ace/Memory_Pool.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ace/Memory_Pool.cpp b/ace/Memory_Pool.cpp index 2392655b3d3..c9c2fd96241 100644 --- a/ace/Memory_Pool.cpp +++ b/ace/Memory_Pool.cpp @@ -125,8 +125,9 @@ ACE_MMAP_Memory_Pool::ACE_MMAP_Memory_Pool (LPCTSTR backing_store_name, // if the user didn't supply one... backing_store_name = ACE_DEFAULT_BACKING_STORE; // from "ace/OS.h" - ACE_OS::strncpy (this->backing_store_name_, backing_store_name, - sizeof this->backing_store_name_); + ACE_OS::strncpy (this->backing_store_name_, + backing_store_name, + (sizeof this->backing_store_name_ / sizeof TCHAR)); #if !defined (ACE_WIN32) if (this->signal_handler_.register_handler (SIGSEGV, this) == -1) |