Hello Lukas,

On Tuesday 20 April 2010 Gunnar Thielebein wrote:
> perhaps it is also possible for you trying to compile the package of recent
> version from ppa? https://launchpad.net/~lorem-ipsum/+archive/ppa
Could you try the current version?

Either way here's a patch, that should tell me a bit more what goes wrong.
Please apply, and send the "-d" output.

Thank you!


Regards,

Phil


-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

------------------------------------------------------
http://fsvs.tigris.org/ds/viewMessage.do?dsForumId=3928&dsMessageId=2593169

To unsubscribe from this discussion, e-mail: 
[[email protected]].
Index: direnum.c
===================================================================
--- direnum.c	(revision 2438)
+++ direnum.c	(working copy)
@@ -519,7 +519,9 @@
 	this->entry_count=count;
 
 	/* Free allocated, but not used, memory. */
+DEBUGP("strings at %p, size %d", strings, mark);
 	STOPIF( hlp__realloc( &strings, mark), NULL);
+DEBUGP("strings at %p after realloc", strings);
 	/* If a _down_-sizing ever gives an error, we're really botched.
 	 * But if it's an empty directory, a NULL pointer will be returned. */
 	BUG_ON(mark && !strings);
@@ -558,6 +560,8 @@
 
 		/* now the data is copied, we store the pointer. */
 		sts_array[i] = sts;
+DEBUGP("sts %d: string=%p + name[]=%i => %p",
+i, this->strings, names[i], sts->name);
 
 		sts++;
 		sts_free--;
@@ -570,7 +574,9 @@
 	sts_array=NULL;
 
 	/* See inodeSort */
+DEBUGP("before sorting");
 	STOPIF( dir__sortbyinode(this), NULL);
+DEBUGP("after sorting");
 
 
 	//	for(i=0; i<count; i++) printf("%5ld %s\n",de[i]->d_ino, de[i]->d_name);
@@ -579,6 +585,7 @@
 		sts=this->by_inode[i];
 		sts->parent=this;
 		sts->repos_rev=SVN_INVALID_REVNUM;
+DEBUGP("lstat of %s: addr=%p, ->st=%p", sts->name, sts, &(sts->st));
 		status=hlp__lstat(sts->name, &(sts->st));
 		if (abs(status) == ENOENT)
 		{

Reply via email to