Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
fix 9cpu.b
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Eric Van Hensbergen  
View profile  
 More options May 25 2009, 12:00 pm
From: Eric Van Hensbergen <eri...@gmail.com>
Date: Mon, 25 May 2009 11:00:59 -0500
Local: Mon, May 25 2009 12:00 pm
Subject: [PATCH] fix 9cpu.b
I was getting Bus errors when I was using 9cpu.b with Feedkey.  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){

      -eric


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[PATCH] fix 9cpu.b" by Caerwyn Jones
Caerwyn Jones  
View profile  
 More options May 25 2009, 7:41 pm
From: Caerwyn Jones <caerw...@gmail.com>
Date: Mon, 25 May 2009 19:41:38 -0400
Local: Mon, May 25 2009 7:41 pm
Subject: Re: [acme-sac] [PATCH] fix 9cpu.b
I don't see how this can change anything. These two lines seem to me the same.

-       sys->write(dfd, array[] of {byte 'O', byte 'K'}, 2);
+       sys->write(dfd, array of byte "OK", 2);

Was that the whole diff?

On Mon, May 25, 2009 at 12:00 PM, Eric Van Hensbergen <eri...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Van Hensbergen  
View profile  
 More options May 25 2009, 8:13 pm
From: Eric Van Hensbergen <eri...@gmail.com>
Date: Mon, 25 May 2009 19:13:58 -0500
Local: Mon, May 25 2009 8:13 pm
Subject: Re: [acme-sac] Re: [PATCH] fix 9cpu.b
That is the whole patch.  I don't see what the difference is either  
outside one worked for me and the other didn't (on the mac anyways).  
I can double check just to make sure tommorow.

Sent from my iPhone

On May 25, 2009, at 6:41 PM, Caerwyn Jones <caerw...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »