harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Shimansky <gshiman...@gmail.com>
Subject Re: svn commit: r416477 - in /incubator/harmony/enhanced/classlib/trunk/modules/luni: ./ src/main/java/java/net/ src/test/java/tests/api/java/net/
Date Sat, 24 Jun 2006 16:10:48 GMT
On Saturday 24 June 2006 19:16 Geir Magnusson Jr wrote:
> I seem to have found a doozy :)
> In hysock.c / getNextNetlinkMsg() there's an assumption that anything
> the kernel will ever send in a netlink request is less than 1k, so when
> processing the receive buffer, if there still is data in the buffer and
> it's not a complete message, it's considered an error.
> This is clearly wrong, and provable by simply doubling the buffer size.
> This is suboptimal, of course, because there is no guarantee that 2k
> will be enough one all systems either.
> I'm going to stare at this and attempt to rewrite it this weekend if I
> find some time.
> Man, this would be easier w/ a debugger :)

I have a question on this topic. Is there a reason why libhy*.so and other 
classlib natives libraries are compiled without debug information? Addind -g 
(-Zi on windows) to the options could really help sometimes.

Gregory Shimansky, Intel Middleware Products Division

Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message