From 1b25bf563fbcde3c1c299aa3bc730ad0337f6d31 Mon Sep 17 00:00:00 2001 From: tasn Date: Wed, 28 Jul 2010 17:53:10 +0000 Subject: [PATCH] Eina: Fixed a bug in eina_*share_dump functions and fixed a documentation error. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@50600 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eina_binshare.c | 2 +- src/lib/eina_share_common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/eina_binshare.c b/src/lib/eina_binshare.c index 9250e76..996e012 100644 --- a/src/lib/eina_binshare.c +++ b/src/lib/eina_binshare.c @@ -91,7 +91,7 @@ eina_binshare_shutdown(void) * throughout your program. * * This is a method to reduce the number of duplicated objects kept in - * memory, or just add refcounting to them. + * memory. * * For more information, you can look at the @ref tutorial_binshare_page. * diff --git a/src/lib/eina_share_common.c b/src/lib/eina_share_common.c index 913bec9..1e17d32 100644 --- a/src/lib/eina_share_common.c +++ b/src/lib/eina_share_common.c @@ -575,7 +575,7 @@ eina_iterator_array_check(const Eina_Rbtree *rbtree __UNUSED__, for (node = head->head; node; node = node->next) { printf("DDD: %5i %5i ", node->length, node->references); - printf("'%s'\n", ((char *)node) + sizeof(Eina_Share_Common_Node)); + printf("'%.*s'\n", node->length, ((char *)node) + sizeof(Eina_Share_Common_Node)); fdata->used += sizeof(Eina_Share_Common_Node); fdata->used += node->length; fdata->saved += (node->references - 1) * node->length; -- 2.7.4