cedric pushed a commit to branch master.

commit 674f612c3b3a907ef242a726170aa6b5866a31c0
Author: Cedric Bail <[email protected]>
Date:   Wed May 8 16:37:32 2013 +0900

    eina: more meaningful message.
---
 src/lib/eina/eina_file.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/lib/eina/eina_file.c b/src/lib/eina/eina_file.c
index 4e622e5..4cc44eb 100644
--- a/src/lib/eina/eina_file.c
+++ b/src/lib/eina/eina_file.c
@@ -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);
      }
 

-- 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may

Reply via email to