clone is a bad word on linux

This commit is contained in:
rsc 2004-12-27 00:38:16 +00:00
parent 3694b738b8
commit 0a839b8314

View file

@ -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 */