From f7a066952227ff0343a775d773018077154ec8c7 Mon Sep 17 00:00:00 2001 From: gmaxey Date: Fri, 23 Jan 2004 18:09:57 +0000 Subject: ChangeLogTag: Fri Jan 23 10:04:00 2004 Gary Maxey --- ChangeLog | 12 ++++++++++++ ace/OS_NS_stdlib.inl | 2 ++ ace/OS_NS_sys_wait.inl | 4 ++++ 3 files changed, 18 insertions(+) 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 + + * 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 * 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), -- cgit v1.2.1