diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-11-06 20:12:49 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-11-06 20:12:49 +0000 |
commit | 260aaee331a00c76da0707e1423db898dbca0122 (patch) | |
tree | 9a5ccf9f6a3ead882c2b6c3fd82b61c4de2f5b74 | |
parent | 5c044a0467e7efe93dd78370200d6be186ca2a28 (diff) | |
download | ATCD-260aaee331a00c76da0707e1423db898dbca0122.tar.gz |
.
-rw-r--r-- | ace/Log_Msg.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ace/Log_Msg.cpp b/ace/Log_Msg.cpp index d5cf9d21d36..b45172916d2 100644 --- a/ace/Log_Msg.cpp +++ b/ace/Log_Msg.cpp @@ -576,6 +576,7 @@ ACE_Log_Msg::open (const ASYS_TCHAR *prog_name, // 'o': print as an octal number // 'P': format the current process id // 'p': format the appropriate errno value from sys_errlist +// 'Q': print out the uint64 number // 'r': call the function pointed to by the corresponding argument // 'R': print return status // 'S': format the appropriate _sys_siglist entry corresponding to var-argument. @@ -912,6 +913,9 @@ ACE_Log_Msg::log (const ASYS_TCHAR *format_str, case 'g': case 'G': type = 7 + wpc; // 7, 8, 9 break; + case 'Q': + type = 10 + wpc; + break; case '*': // consume width/precision w[wpc++] = va_arg (argp, int); break; @@ -959,6 +963,9 @@ ACE_Log_Msg::log (const ASYS_TCHAR *format_str, case 9: ACE_OS::sprintf (bp, fp, w[0], w[1], va_arg (argp, double)); break; + case 10: + ACE_OS::sprintf (bp, ACE_UINT64_FORMAT_SPECIFIER, va_arg (argp, ACE_UINT64)); + break; } *format = c; // Restore char we overwrote. } |