On Feb 8, 2008 4:55 PM, Enlightenment CVS <[EMAIL PROTECTED]> wrote:
> Enlightenment CVS committal
> Log Message:
> Add const: evas_hash.c
>
> As agreed on IRC, evas_hash_foreach() now takes const, to make clear
> that hash shouldn't be changed. If one wants to change he must do a
> cast and return 0.  However this will require users to be updated in
> applications.

This already spotted a bug with xrender_{x11,xcb}: both use
evas_hash_modify() from inside evas_hash_foreach() and return 1, what
can cause corruption.

Could someone take a look at it?

-- 
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: [EMAIL PROTECTED]
   MSN: [EMAIL PROTECTED]
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to