diff options
author | olli <olli@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-02-26 08:55:50 +0000 |
---|---|---|
committer | olli <olli@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-02-26 08:55:50 +0000 |
commit | 108fbc4a7c53c08a7da587f2672000cf4ce104b6 (patch) | |
tree | 82a94a2783b539ae4eb353c8a626a6fbb6a61c8b /ACE/ace/Process.cpp | |
parent | 32d55353978e87b5cd40ab624f17e8abb596f10a (diff) | |
download | ATCD-108fbc4a7c53c08a7da587f2672000cf4ce104b6.tar.gz |
ChangeLogTag: Mon Feb 26 08:50:13 UTC 2007 Olli Savia <ops@iki.fi>
Diffstat (limited to 'ACE/ace/Process.cpp')
-rw-r--r-- | ACE/ace/Process.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/ace/Process.cpp b/ACE/ace/Process.cpp index 8bc756ceb22..db6bfb1c1e1 100644 --- a/ACE/ace/Process.cpp +++ b/ACE/ace/Process.cpp @@ -1072,10 +1072,10 @@ ACE_Process_Options::command_line (const ACE_TCHAR *format, ...) if (command_line_buf_len_ < 1) return -1; -#if !defined (ACE_LACKS_VSNPRINTF) - // sprintf the format and args into command_line_buf__. +#if !defined (ACE_LACKS_VSNPRINTF) || defined (ACE_HAS_TRIO) + // vsnprintf the format and args into command_line_buf__. ACE_OS::vsnprintf (command_line_buf_, - command_line_buf_len_ - 1, + command_line_buf_len_, format, argp); #else |