diff options
author | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-04-21 01:28:55 +0000 |
---|---|---|
committer | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-04-21 01:28:55 +0000 |
commit | 9965dfcb8b0d648aaae2a3b8f361dae94f4ec88a (patch) | |
tree | ecf9baae0eead61d81b81a288577824b400c23e3 /examples/OS | |
parent | ca5501fa82b04b201a99228ca7dcf203e8f9335e (diff) | |
download | ATCD-9965dfcb8b0d648aaae2a3b8f361dae94f4ec88a.tar.gz |
ChangeLogTag:Thu Apr 20 18:11:48 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'examples/OS')
-rw-r--r-- | examples/OS/Process/Process.dsp | 9 | ||||
-rw-r--r-- | examples/OS/Process/imore.cpp | 2 | ||||
-rw-r--r-- | examples/OS/Process/imore.dsp | 11 | ||||
-rw-r--r-- | examples/OS/Process/process.cpp | 15 |
4 files changed, 19 insertions, 18 deletions
diff --git a/examples/OS/Process/Process.dsp b/examples/OS/Process/Process.dsp index 381db87c3b2..1167ae5ac00 100644 --- a/examples/OS/Process/Process.dsp +++ b/examples/OS/Process/Process.dsp @@ -22,6 +22,7 @@ CFG=Process - Win32 Release !MESSAGE
# Begin Project
+# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
@@ -41,7 +42,7 @@ RSC=rc.exe # PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "../../../" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
@@ -49,7 +50,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\ace"
+# ADD LINK32 ace.lib /nologo /subsystem:console /machine:I386 /libpath:"../../../ace"
!ELSEIF "$(CFG)" == "Process - Win32 Debug"
@@ -65,7 +66,7 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /FD /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../../../" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
@@ -73,7 +74,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:I386
-# ADD LINK32 aced.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\..\ace"
+# ADD LINK32 aced.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"../../../ace"
!ENDIF
diff --git a/examples/OS/Process/imore.cpp b/examples/OS/Process/imore.cpp index 88a8e5dee87..5f1d120b983 100644 --- a/examples/OS/Process/imore.cpp +++ b/examples/OS/Process/imore.cpp @@ -253,7 +253,7 @@ main (int argc, char *argv[]) #endif /* ! ACE_WIN32 */ // Wait till we are done. - int status; + ACE_exitcode status; new_process.wait (&status); ACE_DEBUG ((LM_DEBUG, "Process exit with status %d\n", status)); diff --git a/examples/OS/Process/imore.dsp b/examples/OS/Process/imore.dsp index df071e63b70..bfd96207cf0 100644 --- a/examples/OS/Process/imore.dsp +++ b/examples/OS/Process/imore.dsp @@ -1,4 +1,4 @@ -# Microsoft Developer Studio Project File - Name="imore" - Package Owner=<4>
+# Microsoft Developer Studio Project File - Name="Imore" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
@@ -22,6 +22,7 @@ CFG=imore - Win32 Release !MESSAGE
# Begin Project
+# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
@@ -41,7 +42,7 @@ RSC=rc.exe # PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\..\\" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "../../../" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
@@ -49,7 +50,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\..\ace"
+# ADD LINK32 ace.lib /nologo /subsystem:console /machine:I386 /libpath:"../../../ace"
!ELSEIF "$(CFG)" == "Imore - Win32 Debug"
@@ -65,7 +66,7 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\..\..\\" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /FD /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "../../../" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /FD /c
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
@@ -73,7 +74,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /debug /machine:I386
-# ADD LINK32 aced.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"..\..\..\ace"
+# ADD LINK32 aced.lib /nologo /subsystem:console /debug /machine:I386 /libpath:"../../../ace"
!ENDIF
diff --git a/examples/OS/Process/process.cpp b/examples/OS/Process/process.cpp index f94834f1755..6f7c2d82ad6 100644 --- a/examples/OS/Process/process.cpp +++ b/examples/OS/Process/process.cpp @@ -133,7 +133,7 @@ test_more (void) error)); } - int status; + ACE_exitcode status; new_process.wait (&status); ACE_DEBUG ((LM_DEBUG, "Process exit with status %d\n", @@ -164,7 +164,7 @@ test_date (void) return; } - int status; + ACE_exitcode status; new_process.wait (&status); ACE_DEBUG ((LM_DEBUG, "Process exit with status %d\n", @@ -189,7 +189,7 @@ test_ls (void) error)); } - int status; + ACE_exitcode status; new_process.wait (&status); ACE_DEBUG ((LM_DEBUG, "Process exit with status %d\n", @@ -213,11 +213,10 @@ test_wait (void) } int result; - int status; + ACE_exitcode status; ACE_DEBUG ((LM_DEBUG, - "[%T] New process sleeping 10; try wait(2)\n", - status)); + "[%T] New process sleeping 10; try wait(2)\n")); result = process1.wait (ACE_Time_Value (2), &status); @@ -449,7 +448,7 @@ test_setenv (const char *argv0) return; } - int status; + ACE_exitcode status; process.wait (&status); ACE_DEBUG ((LM_DEBUG, "Process exit with status %d\n", @@ -503,7 +502,7 @@ main (int argc, char *argv[]) "%p.\n", "main"), -1); - int status; + ACE_exitcode status; process.wait (&status); ACE_DEBUG ((LM_DEBUG, "Process exit with status %d\n", |