updates from plan 9
This commit is contained in:
parent
60535a5ff6
commit
5c8a042171
4 changed files with 16 additions and 1 deletions
|
|
@ -33,8 +33,8 @@ _post2(void *v)
|
|||
Srv *s;
|
||||
|
||||
s = v;
|
||||
rfork(RFNOTEG);
|
||||
if(!s->leavefdsopen){
|
||||
rfork(RFNOTEG);
|
||||
rendezvous((ulong)s, 0);
|
||||
close(s->srvfd);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ allocfid(Fidpool *pool, ulong fid)
|
|||
incfidref(f);
|
||||
incfidref(f);
|
||||
if(caninsertkey(pool->map, fid, f) == 0){
|
||||
closefid(f);
|
||||
closefid(f);
|
||||
return nil;
|
||||
}
|
||||
|
|
|
|||
13
src/lib9p/portdate
Normal file
13
src/lib9p/portdate
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
_post.c 2004/1225
|
||||
dirread.c 2004/1225
|
||||
fid.c 2004/1225
|
||||
file.c 2004/1225
|
||||
intmap.c 2004/1225
|
||||
mem.c 2004/1225
|
||||
req.c 2004/1225
|
||||
parse.c 2004/1225
|
||||
post.c 2004/1225
|
||||
srv.c 2004/1225
|
||||
tpost.c 2004/1225
|
||||
uid.c 2004/1225
|
||||
util.c 2004/1225
|
||||
|
|
@ -48,6 +48,7 @@ allocreq(Reqpool *pool, ulong tag)
|
|||
increqref(r);
|
||||
increqref(r);
|
||||
if(caninsertkey(pool->map, tag, r) == 0){
|
||||
closereq(r);
|
||||
closereq(r);
|
||||
return nil;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue