was doign some debugging. i think eet needs a cache... :) not yet tho
authorraster <raster>
Fri, 1 Apr 2005 07:26:09 +0000 (07:26 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 1 Apr 2005 07:26:09 +0000 (07:26 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/eet@14056 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eet_lib.c

index fad2f28..417753d 100644 (file)
@@ -350,6 +350,7 @@ eet_open(const char *file, Eet_File_Mode mode)
 
    if (!file) return NULL;
 
+//   printf("open %s\n", file);
 #ifdef HAVE_REALPATH
    /* in case this is a symlink... find out where it REALLY points */
    if (!realpath(file, buf)) 
@@ -738,6 +739,7 @@ eet_read(Eet_File *ef, char *name, int *size_ret)
    if (!ef->header->directory) return NULL;
    /* get hash bucket this should be in */
    hash = eet_hash_gen(name, ef->header->directory->size);
+//   printf("read %s\n", name);
    /* hunt hash bucket */
    num = ef->header->directory->hash[hash].size;
    for (i = 0; i < num; i++)