Open GoogleCodeExporter opened 8 years ago
This patch from Noah fixes the problem:
--- /appl/cmd/9cpu.b Thu May 21 12:49:29 EDT 2009
+++ 9cpu.b Mon May 25 11:44:05 EDT 2009
@@ -102,6 +102,11 @@
fatal(sys->sprint("unknown authentication method %q", authmethod));
sys->pctl(Sys->FORKNS, nil);
+ # get an authenticated connection
+ # run rio if you have a plan 9 window.
+ # if it's an inferno command. run a shell otherwise mount
+ # you also want to import that context.
+ # then what?
(dfd, err) := rexcall(system, authmethod, keyspec, ealgs);
if(dfd == nil)
fatal(err);
@@ -144,7 +149,7 @@
if(exdir != "/")
fatal("cannot export portion of namespace");
- sys->write(dfd, array[] of {byte 'O', byte 'K'}, 2);
+ sys->write(dfd, array of byte "OK", 2);
# set up the namespace that we wish to export
if(wmexport){
Original comment by eri...@gmail.com
on 25 May 2009 at 3:57
Original issue reported on code.google.com by
eri...@gmail.com
on 22 May 2009 at 6:50