sockets/gst-remote bug

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

sockets/gst-remote bug

Paolo Bonzini-3
Now this is what I call a how-could-it-work-here bug.

diff --git a/packages/sockets/cfuncs.st b/packages/sockets/cfuncs.st
index 7c2b7cc..352a215 100644
--- a/packages/sockets/cfuncs.st
+++ b/packages/sockets/cfuncs.st
@@ -266,7 +266,7 @@ CAddrInfoStruct extend [

      aiAddr [
         <category: 'C call-outs'>
-       <cCall: 'TCPgetAiAddr' returning: #(#ptr #{CSockAddrStruct})
+       <cCall: 'TCPgetAiAddr' returning: #(#ptr #{CObject})
         args: #(#self)>

      ]

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: sockets/gst-remote bug

Stefan Schmiedl
On Mon, 08 Jun 2009 20:50:24 +0200
Paolo Bonzini <[hidden email]> wrote:

> Now this is what I call a how-could-it-work-here bug.
>
> diff --git a/packages/sockets/cfuncs.st b/packages/sockets/cfuncs.st
> index 7c2b7cc..352a215 100644
> --- a/packages/sockets/cfuncs.st
> +++ b/packages/sockets/cfuncs.st
> @@ -266,7 +266,7 @@ CAddrInfoStruct extend [
>
>       aiAddr [
>          <category: 'C call-outs'>
> -       <cCall: 'TCPgetAiAddr' returning: #(#ptr #{CSockAddrStruct})
> +       <cCall: 'TCPgetAiAddr' returning: #(#ptr #{CObject})
>          args: #(#self)>
>
>       ]


And we have a WINNER!

stefan@g128 ~ $ gst-remote --eval '(3 + 5) printNl'
8

Thanks!

s.


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk