OSSP CVS Repository

ossp - Check-in [2581]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2581
Date: 2002-Oct-15 19:23:19 (local)
2002-Oct-15 17:23:19 (UTC)
User:rse
Branch:
Comment: The manual page stated that system(3) is supported in the "Soft System Call Mapping", but in fact it was forgotten in the implementation.

Submitted by: Jonathan Schilling <jls@sco.com>

Tickets:
Inspections:
Files:
ossp-pkg/pth/ChangeLog      1.565 -> 1.566     5 inserted, 0 deleted
ossp-pkg/pth/pthread.c      1.57 -> 1.58     6 inserted, 0 deleted
ossp-pkg/pth/pthread.h.in      1.62 -> 1.63     1 inserted, 0 deleted

ossp-pkg/pth/ChangeLog 1.565 -> 1.566

--- ChangeLog    2002/09/24 14:52:49     1.565
+++ ChangeLog    2002/10/15 17:23:19     1.566
@@ -21,6 +21,11 @@
 
   Changes between 1.4.1 and 1.5.0 (27-Jan-2002 to xx-Sep-2002)
 
+   *) The manual page stated that system(3) is supported in the
+      "Soft System Call Mapping", but in fact it was forgotten in the
+      implementation.
+      [Jonathan Schilling <jls@sco.com>]
+
    *) Add #define _PTHREAD_T to pthread.h to guard under SCO UnixWare 7 
       and OpenUNIX 8.
       [Jonathan Schilling <jls@sco.com>]


ossp-pkg/pth/pthread.c 1.57 -> 1.58

--- pthread.c    2002/01/27 11:03:41     1.57
+++ pthread.c    2002/10/15 17:23:19     1.58
@@ -1057,6 +1057,12 @@
     return pth_sleep(sec);
 }
 
+int __pthread_system(const char *cmd)
+{
+    pthread_initialize();
+    return pth_system(cmd);
+}
+
 int __pthread_sigwait(const sigset_t *set, int *sig)
 {
     pthread_initialize();


ossp-pkg/pth/pthread.h.in 1.62 -> 1.63

--- pthread.h.in 2002/09/24 14:50:37     1.62
+++ pthread.h.in 2002/10/15 17:23:19     1.63
@@ -504,6 +504,7 @@
 #if _POSIX_THREAD_SYSCALL_SOFT && !defined(_PTHREAD_PRIVATE)
 #define fork       __pthread_fork
 #define sleep      __pthread_sleep
+#define system     __pthread_system
 #define sigwait    __pthread_sigwait
 #define waitpid    __pthread_waitpid
 #define connect    __pthread_connect

CVSTrac 2.0.1