Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : apps/evfs

Dir     : e17/apps/evfs/src/plugins/file


Modified Files:
        evfs_fs_tar.c 


Log Message:
* Oops - how did these sneak in? Fix segvs

===================================================================
RCS file: /cvs/e/e17/apps/evfs/src/plugins/file/evfs_fs_tar.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- evfs_fs_tar.c       25 Jul 2007 17:00:54 -0000      1.9
+++ evfs_fs_tar.c       29 Jul 2007 10:10:37 -0000      1.10
@@ -436,7 +436,7 @@
    if (!
        (file =
         ecore_hash_get(tar_cache,
-                       evfs_file_top_level_find(ref->path))))
+                       evfs_file_top_level_find(ref)->path)))
      {
         file = evfs_tar_load_tar(client, ref);
      }
@@ -484,7 +484,7 @@
                      strlen(ele_new->name) + 1;
                   reference->path = malloc(size);
                   reference->file_type = ele_new->type;
-                  reference->plugin_uri = "tar";
+                  reference->plugin_uri = strdup("tar");
                   snprintf(reference->path, size, "%s/%s", ele_new->path,
                            ele_new->name);
                   ecore_list_append(files, reference);
@@ -516,7 +516,7 @@
      }
    else
      {
-        printf("located tar file in cache");
+        /*printf("located tar file in cache");*/
         ele =
            ecore_hash_get(file->link_in,
                           command->file_command.files[number]->path);



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to