tdo not use shutdown on mac - 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 a331ac4c61d14ab837908b0adfdce0aeaa692981
 (DIR) parent 9b3d503bacfb3fdfc48ce47e3e1169e8a0ee91be
 (HTM) Author: rsc <devnull@localhost>
       Date:   Wed, 19 Jan 2005 16:51:37 +0000
       
       do not use shutdown on mac
       
       Diffstat:
         M src/cmd/vac/vacfs.c                 |      10 ++++++----
       
       1 file changed, 6 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/src/cmd/vac/vacfs.c b/src/cmd/vac/vacfs.c
       t@@ -65,7 +65,7 @@ int        noperm;
        Fid *        newfid(int);
        void        error(char*);
        void        io(void);
       -void        shutdown(void);
       +void        vacshutdown(void);
        void        usage(void);
        int        perm(Fid*, int);
        int        permf(VacFile*, char*, int);
       t@@ -202,9 +202,11 @@ threadmain(int argc, char *argv[])
                threadexits(0);
        }
        
       -void srv(void* a) {
       +void
       +srv(void *a)
       +{
                io();
       -        shutdown();
       +        vacshutdown();
        }
        
        void
       t@@ -854,7 +856,7 @@ init(char *file, char *host, long ncache, int readOnly)
        }
        
        void
       -shutdown(void)
       +vacshutdown(void)
        {
                Fid *f;