* [9fans] [patch] applied: wikifs-dotdot
@ 2005-09-05 7:28 patch-log
0 siblings, 0 replies; only message in thread
From: patch-log @ 2005-09-05 7:28 UTC (permalink / raw)
To: 9fans
d-rwxrwxr-x M 67334 rsc sys 0 Sep 4 14:09 /n/sources/patch/applied/wikifs-dotdot
README:
Fix qid generation for root so you can dotdot
out of a page directory (e.g. /n/wiki/sandbox).
I think this is the same idea as Russ's recent
patch to devsd.c.
------------------------------
NOTES:
Sun Sep 4 08:09:29 EDT 2005 rsc
One wonders what 42 means!
------------------------------
DIFF:
/sys/src/cmd/wikifs/fs.c
fs.c.orig:109,115 - /n/sources/patch/applied/wikifs-dotdot/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);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-05 7:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-05 7:28 [9fans] [patch] applied: wikifs-dotdot patch-log
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).