diff options
author | Chad Elliott <elliottc@objectcomputing.com> | 2019-06-26 10:41:52 -0500 |
---|---|---|
committer | Chad Elliott <elliottc@objectcomputing.com> | 2019-06-26 10:41:52 -0500 |
commit | b2cae554d7e5222aa7a14a7792219499344853b5 (patch) | |
tree | 1d631990e43d97754342228686fd142b1c6e3005 | |
parent | 2ec946a16b88456961b971c48cf43ff5b6eb3f86 (diff) | |
download | ATCD-b2cae554d7e5222aa7a14a7792219499344853b5.tar.gz |
Increase the ACE_LOG_MSG_GET_THREAD_ID_BUFFER_SIZE from 8 to 12 as an int is used in the implementation of ACE_OS::thr_gettid and could require 11 bytes of text, including a sign, and a byte to null terminate the string.
-rw-r--r-- | ACE/ace/Log_Msg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/Log_Msg.cpp b/ACE/ace/Log_Msg.cpp index 9e3f3949e52..dbf09f5d3da 100644 --- a/ACE/ace/Log_Msg.cpp +++ b/ACE/ace/Log_Msg.cpp @@ -1794,7 +1794,7 @@ ACE_Log_Msg::log (const ACE_TCHAR *format_str, # ifdef ACE_HAS_GETTID # define ACE_LOG_MSG_GET_THREAD_ID ACE_OS::thr_gettid -# define ACE_LOG_MSG_GET_THREAD_ID_BUFFER_SIZE 8 +# define ACE_LOG_MSG_GET_THREAD_ID_BUFFER_SIZE 12 # else # define ACE_LOG_MSG_GET_THREAD_ID ACE_OS::thr_id # define ACE_LOG_MSG_GET_THREAD_ID_BUFFER_SIZE 32 |