diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-05-11 02:34:26 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-05-11 02:34:26 +0000 |
commit | 0d475c857b4d22a712914a8d42dd9fd02518b771 (patch) | |
tree | 81f21fdae1602451032aed1065494e191cf17a8a | |
parent | fc323965d698a0879743f5e0e623af4d1cd60731 (diff) | |
download | ATCD-0d475c857b4d22a712914a8d42dd9fd02518b771.tar.gz |
ChangeLogTag:Thu May 10 19:33:03 2001 Carlos O'Ryan <coryan@uci.edu>
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-02a | 6 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 6 | ||||
-rw-r--r-- | tests/ARGV_Test.cpp | 12 |
4 files changed, 24 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog index f56d7d47839..3f5c5de535c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu May 10 19:33:03 2001 Carlos O'Ryan <coryan@uci.edu> + + * tests/ARGV_Test.cpp: + Fixed argv, it should be an ACE_TCHAR, add missing ACE_TEXT() + and removed superfluous one. + Thu May 10 18:19:09 2001 Carlos O'Ryan <coryan@uci.edu> * ACE-INSTALL.html: diff --git a/ChangeLogs/ChangeLog-02a b/ChangeLogs/ChangeLog-02a index f56d7d47839..3f5c5de535c 100644 --- a/ChangeLogs/ChangeLog-02a +++ b/ChangeLogs/ChangeLog-02a @@ -1,3 +1,9 @@ +Thu May 10 19:33:03 2001 Carlos O'Ryan <coryan@uci.edu> + + * tests/ARGV_Test.cpp: + Fixed argv, it should be an ACE_TCHAR, add missing ACE_TEXT() + and removed superfluous one. + Thu May 10 18:19:09 2001 Carlos O'Ryan <coryan@uci.edu> * ACE-INSTALL.html: diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index f56d7d47839..3f5c5de535c 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,9 @@ +Thu May 10 19:33:03 2001 Carlos O'Ryan <coryan@uci.edu> + + * tests/ARGV_Test.cpp: + Fixed argv, it should be an ACE_TCHAR, add missing ACE_TEXT() + and removed superfluous one. + Thu May 10 18:19:09 2001 Carlos O'Ryan <coryan@uci.edu> * ACE-INSTALL.html: diff --git a/tests/ARGV_Test.cpp b/tests/ARGV_Test.cpp index 621d6fd586d..98446fd86f0 100644 --- a/tests/ARGV_Test.cpp +++ b/tests/ARGV_Test.cpp @@ -7,7 +7,7 @@ // // = DESCRIPTION // This simple test illustrates how to use advanced features of -// <ACE_ARGV>. +// <ACE_ARGV>. // // = AUTHOR // Suresh Kannan <kannan@uav.ae.gatech.edu> @@ -19,8 +19,8 @@ ACE_RCSID(tests, ARGV_Test, "$Id$") -int -main (int, char *argv[]) +int +main (int, ACE_TCHAR *argv[]) { ACE_START_TEST (ACE_TEXT ("ARGV_Test")); @@ -28,10 +28,10 @@ main (int, char *argv[]) ACE_ARGV cl (argv); // My own stuff. - ACE_ARGV my; + ACE_ARGV my; // Add to my stuff. - my.add ("-ORBEndpoint iiop://localhost:12345"); + my.add (ACE_TEXT ("-ORBEndpoint iiop://localhost:12345")); // Combine the two (see the ace/ARGV.h constructors documentation). ACE_ARGV a (cl.argv (), @@ -39,7 +39,7 @@ main (int, char *argv[]) ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("argc = %d\n"), - ACE_TEXT (a.argc ()))); + a.argc ()))); // Print the contents of the combined <ACE_ARGV>. for (size_t i = 0; i < a.argc (); i++) |