eina: more meaningful message.
authorCedric Bail <cedric.bail@samsung.com>
Wed, 8 May 2013 07:37:32 +0000 (16:37 +0900)
committerCedric Bail <cedric.bail@samsung.com>
Wed, 8 May 2013 09:17:00 +0000 (18:17 +0900)
src/lib/eina/eina_file.c

index 4e622e5..4cc44eb 100644 (file)
@@ -464,7 +464,10 @@ eina_file_shutdown(void)
 
         it = eina_hash_iterator_key_new(_eina_file_cache);
         EINA_ITERATOR_FOREACH(it, key)
-          ERR("File [%s] still open !", key);
+         {
+             Eina_File *f = eina_hash_find(_eina_file_cache, key);
+             ERR("File [%s] still open %i times !", key, f->refcount);
+          }
         eina_iterator_free(it);
      }