On Mon, 15 Nov 2010, Enlightenment SVN wrote:

> Log:
>  fix some compile warnings
>
> Author:       discomfitor
> Date:         2010-11-15 11:42:00 -0800 (Mon, 15 Nov 2010)
> New Revision: 54570
>
> Modified:
>  trunk/eina/src/lib/eina_private.h trunk/eina/src/tests/eina_test_binshare.c 
> trunk/eina/src/tests/eina_test_ustringshare.c
>
> Modified: trunk/eina/src/lib/eina_private.h
> ===================================================================
> --- trunk/eina/src/lib/eina_private.h 2010-11-15 19:14:48 UTC (rev 54569)
> +++ trunk/eina/src/lib/eina_private.h 2010-11-15 19:42:00 UTC (rev 54570)
> @@ -129,6 +129,8 @@
>
> void eina_share_common_threads_init(void);
> void eina_share_common_threads_shutdown(void);
> +Eina_Bool eina_binshare_init(void);
> +Eina_Bool eina_binshare_shutdown(void);

that's the wrong fix. eina_binshare_init/shutdown are called with 
eina_init/shutdown, hence must not be used.

> --- trunk/eina/src/tests/eina_test_binshare.c 2010-11-15 19:14:48 UTC (rev 
> 54569)
> +++ trunk/eina/src/tests/eina_test_binshare.c 2010-11-15 19:42:00 UTC (rev 
> 54570)
> @@ -26,6 +26,7 @@
> #include <time.h>
>
> #include "eina_suite.h"
> +#include "eina_private.h"
> #include "Eina.h"

same here, wrong fix.

Vincent

>
> #define TEST0 "te\0st/0"
>
> Modified: trunk/eina/src/tests/eina_test_ustringshare.c
> ===================================================================
> --- trunk/eina/src/tests/eina_test_ustringshare.c     2010-11-15 19:14:48 UTC 
> (rev 54569)
> +++ trunk/eina/src/tests/eina_test_ustringshare.c     2010-11-15 19:42:00 UTC 
> (rev 54570)
> @@ -50,7 +50,7 @@
>
>    t0 = eina_ustringshare_ref(t0);
>    fail_if(t0 == NULL);
> -   fail_if((int)strlen(TEST0) != eina_stringshare_strlen(t0));
> +   fail_if((int)strlen((const char*)TEST0) != eina_stringshare_strlen((const 
> char*)t0));
>
>    eina_ustringshare_del(t0);
>    eina_ustringshare_del(t0);
>
>
> ------------------------------------------------------------------------------
> Centralized Desktop Delivery: Dell and VMware Reference Architecture
> Simplifying enterprise desktop deployment and management using
> Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
> client virtualization framework. Read more!
> http://p.sf.net/sfu/dell-eql-dev2dev
> _______________________________________________
> enlightenment-svn mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to