|
From: | Bruno Saverio Delbono |
Subject: | Re: [Mldonkey-users] static_tiger bus errors |
Date: | Thu, 12 Feb 2004 19:00:23 -0800 |
User-agent: | Mozilla Thunderbird 0.5 (Windows/20040207) |
Kevin A. Sindhu wrote:
Index: tiger.c =================================================================== RCS file: /cvsroot/mldonkey/mldonkey/src/utils/lib/tiger.c,v retrieving revision 1.4 diff -u -r1.4 tiger.c --- tiger.c 20 Nov 2003 16:43:26 -0000 1.4 +++ tiger.c 13 Feb 2004 01:17:07 -0000 @@ -176,7 +176,9 @@ static void static_tiger(word64 *str, word64 length, word64 res[3]) { register word64 i, j; - unsigned char temp[64]; + word64 temp_[64 / 8]; + unsigned char *temp = (unsigned char *) temp_; +/* unsigned char temp[64]; */
Instead I chose to go with cvs server: Diffing . Index: tiger.c =================================================================== RCS file: /cvsroot/mldonkey/mldonkey/src/utils/lib/tiger.c,v retrieving revision 1.4 diff -u -r1.4 tiger.c --- tiger.c 20 Nov 2003 16:43:26 -0000 1.4 +++ tiger.c 13 Feb 2004 02:54:59 -0000 @@ -176,7 +176,10 @@ static void static_tiger(word64 *str, word64 length, word64 res[3]) { register word64 i, j; - unsigned char temp[64]; +/* word64 temp_[128 / 8]; + unsigned doubele long long char *temp = (unsigned char *) temp_; +*/ + double temp[256]; res[0]=0x0123456789ABCDEFLL; res[1]=0xFEDCBA9876543210LL;This seems to work as I can now run mlnet without any problems on solaris sparc...Take this as workaround and wait till someone here looks at the code
-Bruno
[Prev in Thread] | Current Thread | [Next in Thread] |