summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgmaxey <gmaxey@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-01-23 18:09:57 +0000
committergmaxey <gmaxey@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-01-23 18:09:57 +0000
commitf7a066952227ff0343a775d773018077154ec8c7 (patch)
tree2d210c2c0ded0d1189b521eaec2e1af1f657f997
parentaded8d096029de5ff4252cc5d9b83ed228752cb7 (diff)
downloadATCD-f7a066952227ff0343a775d773018077154ec8c7.tar.gz
ChangeLogTag: Fri Jan 23 10:04:00 2004 Gary Maxey <gary.maxey@hp.com>
-rw-r--r--ChangeLog12
-rw-r--r--ace/OS_NS_stdlib.inl2
-rw-r--r--ace/OS_NS_sys_wait.inl4
3 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 834f1a9adbb..a707afb3023 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+Fri Jan 23 10:04:00 2004 Gary Maxey <gary.maxey@hp.com>
+
+ * ace/OS_NS_stdlib.inl
+ * ace/OS_NS_sys_wait.inl:
+
+ Fix for BUGID 1722, for Tandem NSK platform
+
+ In OS_NS_stdlib.inl
+ Need to use spt_system() instead of system()
+ In OS_NS_sys_wait.inl
+ Need to use spt_waitpid() instead of waitpid()
+
Fri Jan 23 09:49:00 2004 Gary Maxey <gary.maxey@hp.com>
* ace/OS_NS_Thread.inl:
diff --git a/ace/OS_NS_stdlib.inl b/ace/OS_NS_stdlib.inl
index 4d2f83d0f42..0a483488da3 100644
--- a/ace/OS_NS_stdlib.inl
+++ b/ace/OS_NS_stdlib.inl
@@ -392,6 +392,8 @@ ACE_OS::system (const ACE_TCHAR *s)
ACE_NOTSUP_RETURN (-1);
#elif defined (ACE_WIN32) && defined (ACE_USES_WCHAR)
ACE_OSCALL_RETURN (::_wsystem (s), int, -1);
+#elif defined(ACE_TANDEM_T1248_PTHREADS)
+ ACE_OSCALL_RETURN (::spt_system (s), int, -1);
#else
ACE_OSCALL_RETURN (::system (s), int, -1);
#endif /* !CHORUS */
diff --git a/ace/OS_NS_sys_wait.inl b/ace/OS_NS_sys_wait.inl
index 14e0064b180..d72842213ba 100644
--- a/ace/OS_NS_sys_wait.inl
+++ b/ace/OS_NS_sys_wait.inl
@@ -86,6 +86,10 @@ ACE_OS::waitpid (pid_t pid,
ACE_UNUSED_ARG (handle);
ACE_OSCALL_RETURN (::await (&ACE_OS::actorcaps_[pid]),
pid_t, -1);
+#elif defined(ACE_TANDEM_T1248_PTHREADS)
+ ACE_UNUSED_ARG (handle);
+ ACE_OSCALL_RETURN (::spt_waitpid (pid, status, wait_options),
+ pid_t, -1);
#else
ACE_UNUSED_ARG (handle);
ACE_OSCALL_RETURN (::waitpid (pid, status, wait_options),