commit b4cb97bed82ff1a82b2ecf6f01672d12198fa57d
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date:   Fri May 25 17:29:23 2007 -0400

    remove trailing ':' when building dirs= options from odf sb file

diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c
index 95dd245..b8ff210 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -1852,6 +1852,8 @@ char *odf_read_sb_data(struct odf_sb_info *odf_sb, int 
**bid)
                ptr+=strlen(ptr);
                i++;
        }
+
+       *(ptr - 1) = 0; /* remove trailing ':' */
        err = 0;
        set_fs(oldfs);
        filp_close(file,NULL);
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to