diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-06-10 17:32:28 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-06-10 17:32:28 +0200 |
commit | 27e4f2f6b65a17333a930c844c80409b072b821d (patch) | |
tree | 0d65edd6c7bdc97cfdf0ca2664b1743560e7b9e2 /ACE/examples | |
parent | 02af73cfc64c1dcf73dd907b25fcd67b80b88203 (diff) | |
download | ATCD-27e4f2f6b65a17333a930c844c80409b072b821d.tar.gz |
Use ACE_OS instead of ACE_OS_String
* ACE/ace/OS_NS_time.inl:
* ACE/examples/APG/Config/ARGV_Example.cpp:
* ACE/examples/APG/Config/Get_Opt.cpp:
* ACE/examples/APG/Config/Get_Opt_Long.cpp:
* ACE/tests/ARGV_Test.cpp:
* TAO/orbsvcs/DevGuideExamples/Security/ParticipatingApp/Messenger_i.cpp:
* TAO/orbsvcs/orbsvcs/Event/EC_Thread_Flags.cpp:
* TAO/orbsvcs/tests/AVStreams/Pluggable_Flow_Protocol/TimeStamp.cpp:
* TAO/orbsvcs/tests/AVStreams/Pluggable_Flow_Protocol/receiver.cpp:
* TAO/orbsvcs/tests/Event/ThreadFlags/testflags.cpp:
* TAO/orbsvcs/tests/HTIOP/AMI/Test_Output.cpp:
* TAO/orbsvcs/tests/HTIOP/BiDirectional/Test_Output.cpp:
* TAO/orbsvcs/tests/HTIOP/Hello/Test_Output.cpp:
* TAO/tests/Bug_3941_Regression/test.cpp:
Diffstat (limited to 'ACE/examples')
-rw-r--r-- | ACE/examples/APG/Config/ARGV_Example.cpp | 8 | ||||
-rw-r--r-- | ACE/examples/APG/Config/Get_Opt.cpp | 4 | ||||
-rw-r--r-- | ACE/examples/APG/Config/Get_Opt_Long.cpp | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/ACE/examples/APG/Config/ARGV_Example.cpp b/ACE/examples/APG/Config/ARGV_Example.cpp index c28134e84db..e5b70b5f5f5 100644 --- a/ACE/examples/APG/Config/ARGV_Example.cpp +++ b/ACE/examples/APG/Config/ARGV_Example.cpp @@ -27,18 +27,18 @@ int ACE_TMAIN (int, ACE_TCHAR *[]) int option; ACE_TCHAR config_file[MAXPATHLEN]; ACE_TCHAR hostname[MAXHOSTNAMELEN]; - ACE_OS_String::strcpy (config_file, ACE_TEXT ("HAStatus.conf")); - ACE_OS_String::strcpy (hostname, ACE_TEXT ("not set")); + ACE_OS::strcpy (config_file, ACE_TEXT ("HAStatus.conf")); + ACE_OS::strcpy (hostname, ACE_TEXT ("not set")); while ((option = cmd_opts ()) != EOF) switch (option) { case 'f': - ACE_OS_String::strncpy (config_file, + ACE_OS::strncpy (config_file, cmd_opts.opt_arg (), MAXPATHLEN); break; case 'h': - ACE_OS_String::strncpy (hostname, + ACE_OS::strncpy (hostname, cmd_opts.opt_arg (), MAXHOSTNAMELEN); break; diff --git a/ACE/examples/APG/Config/Get_Opt.cpp b/ACE/examples/APG/Config/Get_Opt.cpp index b6a08ec186a..26dc5dd6fb5 100644 --- a/ACE/examples/APG/Config/Get_Opt.cpp +++ b/ACE/examples/APG/Config/Get_Opt.cpp @@ -23,11 +23,11 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) int option; ACE_TCHAR config_file[MAXPATHLEN]; - ACE_OS_String::strcpy (config_file, ACE_TEXT ("HAStatus.conf")); + ACE_OS::strcpy (config_file, ACE_TEXT ("HAStatus.conf")); while ((option = cmd_opts ()) != EOF) switch (option) { case 'f': - ACE_OS_String::strncpy (config_file, + ACE_OS::strncpy (config_file, cmd_opts.opt_arg (), MAXPATHLEN); break; diff --git a/ACE/examples/APG/Config/Get_Opt_Long.cpp b/ACE/examples/APG/Config/Get_Opt_Long.cpp index c6506153634..4f869149714 100644 --- a/ACE/examples/APG/Config/Get_Opt_Long.cpp +++ b/ACE/examples/APG/Config/Get_Opt_Long.cpp @@ -20,11 +20,11 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) int option; ACE_TCHAR config_file[MAXPATHLEN]; - ACE_OS_String::strcpy (config_file, ACE_TEXT ("HAStatus.conf")); + ACE_OS::strcpy (config_file, ACE_TEXT ("HAStatus.conf")); while ((option = cmd_opts ()) != EOF) switch (option) { case 'f': - ACE_OS_String::strncpy (config_file, + ACE_OS::strncpy (config_file, cmd_opts.opt_arg (), MAXPATHLEN); break; |