Re: [gnet-dev] a few patches and some bugs
- From: David Helder <dhelder umich edu>
- To: mcmahill mtl mit edu
- Cc: gnet-dev gnetlibrary org
- Subject: Re: [gnet-dev] a few patches and some bugs
- Date: Wed, 12 Feb 2003 19:32:02 -0500 (EST)
Dan,
Did you try gnet-1.1.8? That should fix the bugs in pack_test.c.
Using gsize is a good idea. I'll take a look at updating iochannel
appropriately.
Do you know where the alignment problems are occuring? Could be in the
inetaddr/socket code...
Thanks,
David
On Wed, 12 Feb 2003 mcmahill mtl mit edu wrote:
> Here are a few patches I needed to get gnetlibrary to compile on my alpha.
> There are still a few bugs as the test.log file shows. It seems like the
> PACK2 macro isn't quite 64-bit clean although I haven't had a chance to
> try and fully understand what its doing.
>
> Also, while the tests were running, I got a few unaligned access warnings.
> This happens when you try and access, for example, a 32 bit value which is
> not aligned on a 32 bit boundary. If you had a char * and cast to an
> int * and try and dereference it, this can happen. In my case, the kernel
> fixes it up, but it slows down the program and gives these annoying
> messages.
>
> Hope this is useful information to someone.
--
David Helder - dhelder umich edu - <http://www.eecs.umich.edu/~dhelder>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]