dev-zero    14/07/04 15:32:38

  Added:                wdfs-1.4.2-fix-Waddress.patch
  Log:
  Add missing glib-2 dependency (bug #514332), EAPI bump and fix -Waddress 
warnings.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0x1A5D023975B0583D!)

Revision  Changes    Path
1.1                  net-fs/wdfs/files/wdfs-1.4.2-fix-Waddress.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/wdfs/files/wdfs-1.4.2-fix-Waddress.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/wdfs/files/wdfs-1.4.2-fix-Waddress.patch?rev=1.1&content-type=text/plain

Index: wdfs-1.4.2-fix-Waddress.patch
===================================================================
diff --git a/src/wdfs-main.c b/src/wdfs-main.c
index 9bd5244..a9917b7 100644
--- a/src/wdfs-main.c
+++ b/src/wdfs-main.c
@@ -697,7 +697,7 @@ static int wdfs_open(const char *localpath, struct 
fuse_file_info *fi)
                        ">> %s() by PID %d\n", __func__, 
fuse_get_context()->pid);
        }
 
-       assert(localpath &&  &fi);
+       assert(localpath && fi);
 
        struct open_file *file = g_new0(struct open_file, 1);
        file->modified = false;
@@ -763,7 +763,7 @@ static int wdfs_read(
        if (wdfs.debug == true)
                print_debug_infos(__func__, localpath);
 
-       assert(localpath && buf &&  &fi);
+       assert(localpath && buf && fi);
 
        struct open_file *file = (struct open_file*)(uintptr_t)fi->fh;
 
@@ -785,7 +785,7 @@ static int wdfs_write(
        if (wdfs.debug == true)
                print_debug_infos(__func__, localpath);
 
-       assert(localpath && buf &&  &fi);
+       assert(localpath && buf && fi);
 
        /* data below svn_basedir is read-only */
        if (wdfs.svn_mode == true && g_str_has_prefix(localpath, svn_basedir))
@@ -961,7 +961,7 @@ static int wdfs_ftruncate(
        if (wdfs.debug == true)
                print_debug_infos(__func__, localpath);
 
-       assert(localpath &&  &fi);
+       assert(localpath && fi);
 
        /* data below svn_basedir is read-only */
        if (wdfs.svn_mode == true && g_str_has_prefix(localpath, svn_basedir))




Reply via email to