diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-12-08 22:07:49 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-12-08 22:07:49 +0000 |
commit | f9165af824b8b17874d968f3e57fad576570eb37 (patch) | |
tree | 923fca319913deedf33f4f1b95dc25736f288493 /tests/Pipe_Test.cpp | |
parent | ce166cd8c8fff5eb5a7ba8ea3bbeb7cf5a788979 (diff) | |
download | ATCD-f9165af824b8b17874d968f3e57fad576570eb37.tar.gz |
foo
Diffstat (limited to 'tests/Pipe_Test.cpp')
-rw-r--r-- | tests/Pipe_Test.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/Pipe_Test.cpp b/tests/Pipe_Test.cpp index 80a04f8c474..efd9edfd906 100644 --- a/tests/Pipe_Test.cpp +++ b/tests/Pipe_Test.cpp @@ -45,10 +45,10 @@ parse_args (int argc, char *argv[]) switch (c) { case 'd': - ::close_pipe = 0; + close_pipe = 0; break; case 'c': - ::child_process = 1; + child_process = 1; break; default: print_usage_and_die (); @@ -65,15 +65,15 @@ open (ACE_Pipe &pipe, ACE_ASSERT (pipe.read_handle () != ACE_INVALID_HANDLE && pipe.write_handle () != ACE_INVALID_HANDLE); - if (::close_pipe) + if (close_pipe) pipe.close (); } int main (int argc, char *argv[]) { - ::parse_args (argc, argv); - if (::child_process) + parse_args (argc, argv); + if (child_process) { ACE_APPEND_LOG ("Pipe_Test-children"); ACE_Pipe a, b, c, d, e; @@ -94,7 +94,7 @@ main (int argc, char *argv[]) char *s_argv[4]; s_argv[0] = "Pipe_Test" ACE_PLATFORM_EXE_SUFFIX; s_argv[1] = "-c"; // child/slave process - if (::close_pipe == 0) + if (close_pipe == 0) s_argv[2] = "-d"; else s_argv[2] = 0; |