Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/0904/3

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Be consistent about root qid: use 0 not 42 (no idea what 42 was).
 [rsc] --rw-rw-r-- M 190743 glenda sys 15730 Sep  4 08:09 sys/src/cmd/wikifs/fs.c
	/n/sourcesdump/2005/0904/plan9/sys/src/cmd/wikifs/fs.c:109,115 - 
	/n/sourcesdump/2005/0905/plan9/sys/src/cmd/wikifs/fs.c:109,115
	  	r->fid->aux = a;
	  	a->name = s_copy(r->ifcall.uname);
	  
	- 	r->ofcall.qid = (Qid){mkqid(Droot, 0, 0, 42), 0, QTDIR};
	+ 	r->ofcall.qid = (Qid){mkqid(Droot, 0, 0, 0), 0, QTDIR};
	  	r->fid->qid = r->ofcall.qid;
	  	respond(r, nil);
	  }
 [sys] --rwxrwxr-x M 190743 glenda sys 202134 Sep  4 23:10 386/bin/wikifs
	/sys/src/cmd/wikifs/fs.c:fsattach


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.