Hello Gunter,
you found the bug, you may keep it. Please apply + test.
If it works, please change the partial-commit test to use some
subdirectories, and commit.
My mirrored repository is (because of multi-url-update) not in a state to
get pushed upstream ...
Thank you!
Regards,
Phil
--
Versioning your /etc, /home or even your whole installation?
Try fsvs (fsvs.tigris.org)!Index: est_ops.c
===================================================================
--- est_ops.c (Revision 351)
+++ est_ops.c (Arbeitskopie)
@@ -986,8 +986,7 @@ ex:
/* Create or find an entry below parent.
- * Modifies path. If the path is needed, save it before (strdup())
- * or just use ops__build_path() for a canonical version. */
+ * Does not modify path. */
/* If we get another caller using OPS__CREATE, we might need to
* parametrize the RF_ADD flag. */
int ops__traverse(struct estat *current, char *path,
@@ -998,9 +997,13 @@ int ops__traverse(struct estat *current,
char *next_part;
struct estat *sts;
int quit;
+ char *copy;
status=0;
+ copy=strdup(path);
+ STOPIF_ENOMEM(!copy);
+ path=copy;
quit=0;
while (path)
@@ -1077,6 +1080,7 @@ int ops__traverse(struct estat *current,
*ret=current;
ex:
+ IF_FREE(copy);
return status;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]