diff options
author | Adam Mitz <mitza@ociweb.com> | 2015-11-11 16:15:17 -0600 |
---|---|---|
committer | Adam Mitz <mitza@ociweb.com> | 2015-11-11 16:15:17 -0600 |
commit | 00adbac035685313a98e62a9d77a4363c160f807 (patch) | |
tree | 7d22651e4d0ea46a3c7c431579106f74f8feb42b /ACE/ace/Process.cpp | |
parent | 5c3b3e6647172eecea421195f8bd16ee86a0563b (diff) | |
download | ATCD-00adbac035685313a98e62a9d77a4363c160f807.tar.gz |
Changed one more use of sprintf to snprintf.
Diffstat (limited to 'ACE/ace/Process.cpp')
-rw-r--r-- | ACE/ace/Process.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ACE/ace/Process.cpp b/ACE/ace/Process.cpp index 9f485fac458..4850ba134ac 100644 --- a/ACE/ace/Process.cpp +++ b/ACE/ace/Process.cpp @@ -1300,19 +1300,10 @@ ACE_Process_Options::command_line (const ACE_TCHAR *format, ...) return -1; } -#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_, format, argp); -#else - // sprintf the format and args into command_line_buf__. - ACE_OS::vsprintf (command_line_buf_, - format, - argp); -#endif - // Useless macro. va_end (argp); |