FreeBSD Bugzilla – Attachment 132398 Details for
Bug 176653
Add a fix to math/spooles
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.45 KB, created by
Pedro F. Giffuni
on 2013-03-05 03:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Pedro F. Giffuni
Created:
2013-03-05 03:10:00 UTC
Size:
2.45 KB
patch
obsolete
>Index: spooles/files/patch-I2Ohash-large-input >=================================================================== >--- spooles/files/patch-I2Ohash-large-input (revision 0) >+++ spooles/files/patch-I2Ohash-large-input (working copy) >@@ -0,0 +1,49 @@ >+--- I2Ohash/src/util.c.orig 2013-03-04 21:21:54.000000000 -0500 >++++ I2Ohash/src/util.c 2012-10-06 08:28:37.000000000 -0500 >+@@ -39,8 +39,9 @@ >+ */ >+ loc1 = (key1 + 1) % hashtable->nlist ; >+ loc2 = (key2 + 1) % hashtable->nlist ; >+-long int loc3 = (long int)loc1*(long int)loc2 % hashtable->nlist ; >+-loc =(int) loc3; >++/*loc = (loc1*loc2) % hashtable->nlist ;*/ >++long int loc3 = (long int)loc1*(long int)loc2 % hashtable->nlist ; >++loc=(int)loc3; >+ #if MYDEBUG > 0 >+ fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %d", loc1, loc2, loc) ; >+ fflush(stdout) ; >+@@ -51,7 +52,7 @@ >+ -------------------------------------------------------- >+ */ >+ #if MYDEBUG > 0 >+-fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %ld, loc = %d", loc1, loc2, loc3, loc) ; >++fprintf(stdout, "\n hashtable->freeI2OP = %p", hashtable->freeI2OP) ; >+ fflush(stdout) ; >+ #endif >+ if ( (i2op = hashtable->freeI2OP) == NULL ) { >+@@ -159,10 +160,11 @@ >+ #endif >+ loc1 = (key1 + 1) % hashtable->nlist ; >+ loc2 = (key2 + 1) % hashtable->nlist ; >+-long int loc3 = (long int)loc1*(long int)loc2 % hashtable->nlist ; >+-loc =(int) loc3; >++/*loc = (loc1*loc2) % hashtable->nlist ;*/ >++long int loc3 = (long int)loc1*(long int)loc2 % hashtable->nlist ; >++loc=(int)loc3; >+ #if MYDEBUG > 0 >+-fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %ld, loc = %d", loc1, loc2, loc3, loc) ; >++fprintf(stdout, "\n loc1 = %d, loc2 = %d, loc3 = %d", loc1, loc2, loc) ; >+ fflush(stdout) ; >+ #endif >+ /* >+@@ -231,7 +233,9 @@ >+ } >+ loc1 = (key1 + 1) % hashtable->nlist ; >+ loc2 = (key2 + 1) % hashtable->nlist ; >+-loc = (loc1*loc2) % hashtable->nlist ; >++/*loc = (loc1*loc2) % hashtable->nlist ;*/ >++long int loc3 = (long int)loc1*(long int)loc2 % hashtable->nlist ; >++loc=(int)loc3; >+ /* >+ --------------------------------------------------- >+ find the location of the first (key1,key2,*) triple >Index: spooles/pkg-descr >=================================================================== >--- spooles/pkg-descr (revision 313418) >+++ spooles/pkg-descr (working copy) >@@ -17,4 +17,4 @@ > methods. The preconditioner is a drop tolerance factorization, > with or without pivoting for stability. > >-WWW: http://www.spooles.org/ >+WWW: http://www.netlib.org/linalg/spooles/spooles.2.2.html
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 176653
: 132398