[cp-patches] FYI: add offset to memcpy operation

2006-11-09 Thread Robert Schuster
Hi, the memcpy operation in gnu_java_nio_VMChannel.c::getsockname() for the IPv6 case was copying the port value into the same space as the IPv6 address. I fixed this by adding an offset (like its done in the IPv4 case). ChangeLog: 2006-11-09 Robert Schuster [EMAIL PROTECTED] *

[cp-patches] FYI: add offset to memcpy operation - getpeername

2006-11-09 Thread Robert Schuster
Hi, gnu_java_nio_VMChannel.c::getpeername() the memcpy operation in the IPv6 case is missing an offset when copying the port value in. This patch fixes that. ChangeLog: 2006-11-09 Robert Schuster [EMAIL PROTECTED] * native/jni/java-nio/gnu_java_nio_VMChannel.c: (getpeername):

Re: [cp-patches] FYI: add offset to memcpy operation

2006-11-09 Thread Robert Schuster
Oh and here is the patch. cya Robert Robert Schuster schrieb: Hi, the memcpy operation in gnu_java_nio_VMChannel.c::getsockname() for the IPv6 case was copying the port value into the same space as the IPv6 address. I fixed this by adding an offset (like its done in the IPv4 case).