tAdd // to acid thread line so it is executable. - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 4fbe07e1db9282a09a3f021922a3e13346b5e932
 (DIR) parent 05d8c6df6c626f9e80e7d0ffe241c061bda36324
 (HTM) Author: rsc <devnull@localhost>
       Date:   Thu, 23 Sep 2004 03:25:29 +0000
       
       Add // to acid thread line so it is executable.
       
       Remove p9fork.
       
       Diffstat:
         M acid/thread                         |       2 +-
         M include/libc.h                      |       6 ++----
       
       2 files changed, 3 insertions(+), 5 deletions(-)
       ---
 (DIR) diff --git a/acid/thread b/acid/thread
       t@@ -116,7 +116,7 @@ defn threadfmt(T){
                local A, yes, i, P, s;
        
                P = (Proc)T.proc;
       -        s = "t=(Thread)"+itoa(T, "%-10x")+" ";
       +        s = "t=(Thread)"+itoa(T, "%-10x")+" // ";
        
                if T.state == Running then
                        s = s + "Running    ";
 (DIR) diff --git a/include/libc.h b/include/libc.h
       t@@ -655,8 +655,6 @@ enum
        /*        RFNOMNT                = (1<<14) */
        };
        
       -extern int                ffork(int, void(*)(void*), void*);
       -
        typedef
        struct Qid
        {
       t@@ -714,7 +712,7 @@ extern        int        p9dup(int, int);
        extern        int        errstr(char*, uint);
        extern        int        p9exec(char*, char*[]);
        /* extern        int        execl(char*, ...); <unistd.h> */
       -extern        int        p9fork(void);
       +/* extern        int        p9fork(void); */
        extern        int        p9rfork(int);
        /* not implemented 
        extern        int        fauth(int, char*);
       t@@ -770,7 +768,7 @@ extern        ulong        rendezvous(ulong, ulong);
        #define sleep                p9sleep
        #define wait                p9wait
        #define waitpid                p9waitpid
       -#define fork                p9fork
       +/* #define fork                p9fork */
        #define rfork                p9rfork
        /* #define access                p9access */
        #define create                p9create