#496: [PATCH] Resurrect socket io (unix only)
-----------------------+----------------------------------------------------
Reporter: bacek | Type: patch
Status: reopened | Priority: normal
Milestone: | Component: core
Version: | Severity: fatal
Resolution: | Keywords: sockets
Lang: | Patch: applied
Platform: linux |
-----------------------+----------------------------------------------------
Old description:
> Hello.
>
> There is patch for bringing socket IO back to parrot. Unix-only version,
> because I doesn't have any Windows specific devtool available...
>
> --
> Bacek
New description:
Hello.
There is patch for bringing socket IO back to parrot. Unix-only version,
because I doesn't have any Windows specific devtool available...
--
Bacek[[BR]]
--
Comment(by jkeenan):
I did a lot of fixing of these files to make them conform to our coding
standards. But there was one case where what I did caused ''make'' to
fail.
In ''src/io/socket_unix.c'', the following line was judged to fail
c_macro_args.t.
{{{
# define SOCKADDR(p, t) ((struct sockaddr_in*)VTABLE_get_pointer(interp,
PARROT_SOCKET((p))->t))
}}}
But changing it to the following caused ''make'' to fail:
{{{
# define SOCKADDR(p, (t)) ((struct
sockaddr_in*)VTABLE_get_pointer(interp, PARROT_SOCKET((p))->t))
}}}
So I reverted and, as a precaution, did so also in
''src/io/socket_win32.c''. Can someone more familiar with this take a
look?
Thank you very much.[[BR]]
kid51
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/496#comment:9>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets