mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
clone is a bad word on linux
This commit is contained in:
parent
3694b738b8
commit
0a839b8314
1 changed files with 2 additions and 2 deletions
|
@ -292,7 +292,7 @@ rattach(Fid *f)
|
||||||
}
|
}
|
||||||
|
|
||||||
char*
|
char*
|
||||||
clone(Fid *f, Fid **nf)
|
xclone(Fid *f, Fid **nf)
|
||||||
{
|
{
|
||||||
if(!f->busy)
|
if(!f->busy)
|
||||||
return Ebadfid;
|
return Ebadfid;
|
||||||
|
@ -326,7 +326,7 @@ rwalk(Fid *f)
|
||||||
nf = nil;
|
nf = nil;
|
||||||
rhdr.nwqid = 0;
|
rhdr.nwqid = 0;
|
||||||
if(thdr.newfid != thdr.fid){
|
if(thdr.newfid != thdr.fid){
|
||||||
err = clone(f, &nf);
|
err = xclone(f, &nf);
|
||||||
if(err)
|
if(err)
|
||||||
return err;
|
return err;
|
||||||
f = nf; /* walk the new fid */
|
f = nf; /* walk the new fid */
|
||||||
|
|
Loading…
Reference in a new issue