Hi,

at the end of this mail you can find a patch that fixed the problem I mentioned 
in my
previous mail.

I want to use the chance to say thank you to everyone that has helped to find 
the
problem. My thank you goes to ... oh nobody has helped me ... so thank you
Gerald.

Gerald

--- evas/src/lib/file/evas_module.c.orig        2006-01-30 08:54:50.000000000 
+0100
+++ evas/src/lib/file/evas_module.c     2006-01-30 08:56:53.000000000 +0100
@@ -53,15 +53,17 @@
    Evas_List *paths = NULL;

    /* 1. ~/.evas/modules/ */
-   prefix = getenv("HOME");
-   path = malloc(strlen(prefix) + 1 + strlen("/.evas/modules"));
-   path[0] = 0;
-   strcpy(path, prefix);
-   strcat(path, "/.evas/modules");
-   if (evas_file_path_exists(path))
-     paths = evas_list_append(paths,path);
-   else
-     free(path);
+   if ((prefix = getenv("HOME")) != NULL)
+   {
+     path = malloc(strlen(prefix) + 1 + strlen("/.evas/modules"));
+     path[0] = 0;
+     strcpy(path, prefix);
+     strcat(path, "/.evas/modules");
+     if (evas_file_path_exists(path))
+       paths = evas_list_append(paths,path);
+     else
+       free(path);
+   }

 #ifdef HAVE_DLADDR
      {


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to