thanks,
for weather, it's no longer segfault but in log, i have lot of message
ERROR: Couldn't parse info from rssweather.com
and it doesnt show information on my city
forecast is for me, it's work well
++
On Wed, Aug 13, 2008 at 7:34 AM, Sebastian Dransfeld
<[EMAIL PROTECTED]> wrote:
> _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