diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-11-12 15:38:19 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-11-12 15:38:19 +0000 |
commit | 4c92862a45d7c37e40f809b07e52fa31c820a73c (patch) | |
tree | f254e882c2294ad7ca61d9b806c0803c75ab6cea /ACE/tests/RW_Process_Mutex_Test.cpp | |
parent | 8ef14bed7dab14d34e5ab28c395b151de6586aae (diff) | |
download | ATCD-4c92862a45d7c37e40f809b07e52fa31c820a73c.tar.gz |
Wed Nov 12 15:38:30 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/tests/RW_Process_Mutex_Test.cpp')
-rw-r--r-- | ACE/tests/RW_Process_Mutex_Test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/tests/RW_Process_Mutex_Test.cpp b/ACE/tests/RW_Process_Mutex_Test.cpp index 9436cb97127..a657b97358f 100644 --- a/ACE/tests/RW_Process_Mutex_Test.cpp +++ b/ACE/tests/RW_Process_Mutex_Test.cpp @@ -97,7 +97,7 @@ public: private: enum { Max_Ranges = 5 }; int range_count_; - Time_Range ranges_[Max_Ranges]; + Time_Range ranges_[Max_Ranges]; }; void @@ -468,7 +468,7 @@ run_main (int argc, ACE_TCHAR *argv[]) Child *child = (i == 0 ? &writer : &readers[i-1]); ACE_Process_Options options; options.command_line (format, - argv[0], + argc > 0 ? argv[0] : ACE_TEXT ("RW_Process_Mutex_Test"), i, (unsigned int)me.get_port_number (), mutex_name.c_str ()); |