E segfaults on start with this change. No idea why

On Thu, Feb 26, 2009 at 4:46 AM, Enlightenment SVN
<no-re...@enlightenment.org> wrote:
> Log:
>  use new efreet api fo extra icon dirs.
>
>
> Author:       raster
> Date:         2009-02-25 19:46:59 -0800 (Wed, 25 Feb 2009)
> New Revision: 39227
>
> Modified:
>  trunk/e/src/bin/e_main.c
>
> Modified: trunk/e/src/bin/e_main.c
> ===================================================================
> --- trunk/e/src/bin/e_main.c    2009-02-26 03:46:35 UTC (rev 39226)
> +++ trunk/e/src/bin/e_main.c    2009-02-26 03:46:59 UTC (rev 39227)
> @@ -762,15 +762,15 @@
>    e_init_status_set(_("Setting up Paths"));
>    TS("efreet paths");
>      {
> -       Eina_List *list;
> +       Eina_List **list;
>
>        list = efreet_icon_extra_list_get();
>        if (list)
>          {
>             snprintf(buf, sizeof(buf), "%s/.e/e/icons", e_user_homedir_get());
> -            list = eina_list_prepend(list, (void 
> *)eina_stringshare_add(buf));
> +            *list = eina_list_prepend(*list, (void 
> *)eina_stringshare_add(buf));
>             snprintf(buf, sizeof(buf), "%s/data/icons", e_prefix_data_get());
> -            list = eina_list_prepend(list, (void 
> *)eina_stringshare_add(buf));
> +            *list = eina_list_prepend(*list, (void 
> *)eina_stringshare_add(buf));
>          }
>      }
>    efreet_icon_extension_add(".edj");
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to