summaryrefslogtreecommitdiff
path: root/ACE/examples/OS
diff options
context:
space:
mode:
authorAbdullah Sowayan <sowayan@users.noreply.github.com>2007-07-17 04:06:30 +0000
committerAbdullah Sowayan <sowayan@users.noreply.github.com>2007-07-17 04:06:30 +0000
commitcb39ec159c448ee5ffd5f16c4c65c9478b211756 (patch)
tree0015d01b574c6f19150b8c3a9f40c4d040044ee6 /ACE/examples/OS
parent9d8f7c5c3d16c46d49cde4da24bb052ca6064e87 (diff)
downloadATCD-cb39ec159c448ee5ffd5f16c4c65c9478b211756.tar.gz
Tue Jul 17 04:03:24 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com>
Diffstat (limited to 'ACE/examples/OS')
-rw-r--r--ACE/examples/OS/Process/imore.cpp2
-rw-r--r--ACE/examples/OS/Process/process.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/ACE/examples/OS/Process/imore.cpp b/ACE/examples/OS/Process/imore.cpp
index 02b76ef48f5..12913d3993c 100644
--- a/ACE/examples/OS/Process/imore.cpp
+++ b/ACE/examples/OS/Process/imore.cpp
@@ -102,7 +102,7 @@ setup_named_pipes (ACE_Process_Options &opt)
rendezvous_pfx);
// Out of memory?
- if (rendezvous == NULL)
+ if (rendezvous == 0)
return -1;
// Alright, this is indeed strange. Named pipes are meant to be
diff --git a/ACE/examples/OS/Process/process.cpp b/ACE/examples/OS/Process/process.cpp
index f404ec56dc4..4fe305799f5 100644
--- a/ACE/examples/OS/Process/process.cpp
+++ b/ACE/examples/OS/Process/process.cpp
@@ -309,11 +309,11 @@ win32_test_ls (void)
BOOL fork_result =
ACE_TEXT_CreateProcess (ACE_TEXT ("c:\\Utils\\bin\\ls.exe"),
ACE_TEXT ("-a"),
- NULL, // No process attributes.
- NULL, // No thread attributes.
+ 0, // No process attributes.
+ 0, // No thread attributes.
TRUE, // Allow handle inheritance.
0, // CREATE_NEW_CONSOLE, // Create a new console window.
- NULL,
+ 0,
0, // Current directory to start in.
&startup_info,
&process_info);
@@ -418,8 +418,8 @@ win32_spawn_environment_process (void)
BOOL fork_result =
ACE_TEXT_CreateProcess (ACE_TEXT ("d:\\harrison\\ACE_wrappers\\examples\\OS\\Process\\process.exe"),
ACE_TEXT ("process -g"),
- NULL, // No process attributes.
- NULL, // No thread attributes.
+ 0, // No process attributes.
+ 0, // No thread attributes.
TRUE, // Allow handle inheritance.
0, // CREATE_NEW_CONSOLE, // Create a new console window.
environment, // Environment.