[Mono-dev] Fix to trunk/mono/utils/mono-ehash.c

mike stedman ravuya at gmail.com
Tue Mar 20 22:57:50 EDT 2007


I noticed when trying to build on OS X with eglib turned on it was throwing
an error in mono-ehash.c:180 about ABS not taking two arguments.

It appears that the person who wrote this code intended to write
ABS(hash->last_rehash - hash->in_use) but instead wrote
ABS(hash->last_rehash, hash->in_use)

Here is my patch against r74711. Hope this helps!
-- 
Mike
http://rav.realitybytes.tk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070320/5fe85456/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ehash-fix.diff
Type: application/octet-stream
Size: 475 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070320/5fe85456/attachment.obj 


More information about the Mono-devel-list mailing list