diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-07-21 13:16:43 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-07-21 13:16:43 +0000 |
commit | a2812fcd4c30addb9cb08b0e625ec99bae1d64df (patch) | |
tree | 3e99a46e4ef7f508ee01c99f3db4b045b31fe1f5 /ace | |
parent | 1dd921a42c62bba12e1531c8ecad4c76d3094c13 (diff) | |
download | ATCD-a2812fcd4c30addb9cb08b0e625ec99bae1d64df.tar.gz |
ChangeLogTag: Fri Jul 21 12:05:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace')
-rw-r--r-- | ace/OS_NS_unistd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/OS_NS_unistd.cpp b/ace/OS_NS_unistd.cpp index f1586aeb828..c3080ffcfae 100644 --- a/ace/OS_NS_unistd.cpp +++ b/ace/OS_NS_unistd.cpp @@ -169,7 +169,7 @@ ACE_OS::fork (const ACE_TCHAR *program_name) ACE_UNUSED_ARG (program_name); ACE_NOTSUP_RETURN (pid_t (-1)); # else - pid_t pid = + pid_t const pid = # if defined (ACE_HAS_STHREADS) ::fork1 (); #else @@ -192,7 +192,7 @@ pid_t ACE_OS::fork_exec (ACE_TCHAR *argv[]) { # if defined (ACE_WIN32) - ACE_TCHAR *buf; + ACE_TCHAR *buf = 0; if (ACE_OS::argv_to_string (argv, buf) != -1) { @@ -239,12 +239,12 @@ ACE_OS::fork_exec (ACE_TCHAR *argv[]) // CreateProcess failed. return -1; # else - pid_t result = ACE_OS::fork (); + pid_t const result = ACE_OS::fork (); # if defined (ACE_USES_WCHAR) // Wide-char builds need to convert the command-line args to // narrow char strings for execv(). - char **cargv; + char **cargv = 0; int arg_count; # endif /* ACE_HAS_WCHAR */ |