On Sunday 13 January 2008 Sheldon Hearn wrote:
> On Sunday 13 January 2008 08:24:09 Sheldon Hearn wrote:
> > Results tarball (and modified run script) attached.
Thank you, that -d helps a lot ...

> Oops, that's not the modified version (which performs bind mounts for
> both chroot and softroot).

How about r1339? Here's the relevant part:


Regards,

Phil


Index: waa.c
===================================================================
--- waa.c       (Revision 1338)
+++ waa.c       (Arbeitskopie)
@@ -386,6 +386,13 @@ int waa__get_waa_directory(char *path,
                /* We need to be sure that the path starts with a 
PATH_SEPARATOR.
                 * That is achieved in waa__init(); the softroot path gets 
normalized
                 * there. */
+               /* In case both the argument and the softroot are identical,
+                * we end up with *path==0. Change that to "/". */
+               if (!*path)
+               {
+                       path--;
+                       *path=PATH_SEPARATOR;
+               }

                plen=strlen(path);
        }


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to