Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-fs/wdfs/files: wdfs-1.4.2-fix-Waddress.patch
Date: Fri, 04 Jul 2014 15:32:41
Message-Id: 20140704153238.2B3432004F@flycatcher.gentoo.org
1 dev-zero 14/07/04 15:32:38
2
3 Added: wdfs-1.4.2-fix-Waddress.patch
4 Log:
5 Add missing glib-2 dependency (bug #514332), EAPI bump and fix -Waddress warnings.
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x1A5D023975B0583D!)
8
9 Revision Changes Path
10 1.1 net-fs/wdfs/files/wdfs-1.4.2-fix-Waddress.patch
11
12 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
13 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
14
15 Index: wdfs-1.4.2-fix-Waddress.patch
16 ===================================================================
17 diff --git a/src/wdfs-main.c b/src/wdfs-main.c
18 index 9bd5244..a9917b7 100644
19 --- a/src/wdfs-main.c
20 +++ b/src/wdfs-main.c
21 @@ -697,7 +697,7 @@ static int wdfs_open(const char *localpath, struct fuse_file_info *fi)
22 ">> %s() by PID %d\n", __func__, fuse_get_context()->pid);
23 }
24
25 - assert(localpath && &fi);
26 + assert(localpath && fi);
27
28 struct open_file *file = g_new0(struct open_file, 1);
29 file->modified = false;
30 @@ -763,7 +763,7 @@ static int wdfs_read(
31 if (wdfs.debug == true)
32 print_debug_infos(__func__, localpath);
33
34 - assert(localpath && buf && &fi);
35 + assert(localpath && buf && fi);
36
37 struct open_file *file = (struct open_file*)(uintptr_t)fi->fh;
38
39 @@ -785,7 +785,7 @@ static int wdfs_write(
40 if (wdfs.debug == true)
41 print_debug_infos(__func__, localpath);
42
43 - assert(localpath && buf && &fi);
44 + assert(localpath && buf && fi);
45
46 /* data below svn_basedir is read-only */
47 if (wdfs.svn_mode == true && g_str_has_prefix(localpath, svn_basedir))
48 @@ -961,7 +961,7 @@ static int wdfs_ftruncate(
49 if (wdfs.debug == true)
50 print_debug_infos(__func__, localpath);
51
52 - assert(localpath && &fi);
53 + assert(localpath && fi);
54
55 /* data below svn_basedir is read-only */
56 if (wdfs.svn_mode == true && g_str_has_prefix(localpath, svn_basedir))