From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-fs/wdfs/files/wdfs-1.4.2-fix-Waddress.patch | 40 +++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 net-fs/wdfs/files/wdfs-1.4.2-fix-Waddress.patch (limited to 'net-fs/wdfs/files/wdfs-1.4.2-fix-Waddress.patch') diff --git a/net-fs/wdfs/files/wdfs-1.4.2-fix-Waddress.patch b/net-fs/wdfs/files/wdfs-1.4.2-fix-Waddress.patch new file mode 100644 index 000000000000..0f35776bdebc --- /dev/null +++ b/net-fs/wdfs/files/wdfs-1.4.2-fix-Waddress.patch @@ -0,0 +1,40 @@ +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)) -- cgit v1.2.3