do not use shutdown on mac
This commit is contained in:
parent
9b3d503bac
commit
a331ac4c61
1 changed files with 6 additions and 4 deletions
|
|
@ -65,7 +65,7 @@ int noperm;
|
||||||
Fid * newfid(int);
|
Fid * newfid(int);
|
||||||
void error(char*);
|
void error(char*);
|
||||||
void io(void);
|
void io(void);
|
||||||
void shutdown(void);
|
void vacshutdown(void);
|
||||||
void usage(void);
|
void usage(void);
|
||||||
int perm(Fid*, int);
|
int perm(Fid*, int);
|
||||||
int permf(VacFile*, char*, int);
|
int permf(VacFile*, char*, int);
|
||||||
|
|
@ -202,9 +202,11 @@ threadmain(int argc, char *argv[])
|
||||||
threadexits(0);
|
threadexits(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void srv(void* a) {
|
void
|
||||||
|
srv(void *a)
|
||||||
|
{
|
||||||
io();
|
io();
|
||||||
shutdown();
|
vacshutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -854,7 +856,7 @@ init(char *file, char *host, long ncache, int readOnly)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
shutdown(void)
|
vacshutdown(void)
|
||||||
{
|
{
|
||||||
Fid *f;
|
Fid *f;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue