_doof wrote:
> hi
> 
> sorry i'm not a developer then i dont have patch
> 
> each time i load this module (forecast and weather), e17 segfault on this 
> line :
> 
> e_mod_main.c :
>     snprintf(env, sizeof(env), "%s", getenv("http_proxy"));
> 
> it's because getenv('http_proxy') return NULL value
> 
> than i add  3 lines :
> 
>   char *p;
>   int port = 0;
> +   if ( getenv("http_proxy") == NULL ) {
> +     return;
> +   }
>   snprintf(env, sizeof(env), "%s", getenv("http_proxy"));
>   if (!env[0])
> 
> 
> In forecast module, a second add is needed because the module doesnt
> like when "location" is NULL
> 
> In same file, i add
> 
> 
>   inst->popup = e_gadcon_popup_new(inst->gcc, _forecasts_popup_resize);
> 
>   evas = inst->popup->win->evas;
>   o = e_widget_list_add(evas, 0, 0);
> +        if ( inst->location == NULL ) {
> +               return;
> +        }
>   snprintf(buf, sizeof(buf), "%s", inst->location);
>   of = e_widget_frametable_add(evas, buf, 0);
> 
> 
> and now, all is work :)))

I've submitted a fix for these problems, please try with latest cvs.

Sebastian

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to