Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-process/lsof/files: lsof-4.85-arg.c.patch
Date: Sun, 30 Oct 2011 23:28:30
Message-Id: 20111030232819.20B0D2004C@flycatcher.gentoo.org
1 vapier 11/10/30 23:28:19
2
3 Added: lsof-4.85-arg.c.patch
4 Log:
5 Add fix from upstream #388555 by Lars Wendler (Polynomial-C).
6
7 (Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sys-process/lsof/files/lsof-4.85-arg.c.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/lsof/files/lsof-4.85-arg.c.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/lsof/files/lsof-4.85-arg.c.patch?rev=1.1&content-type=text/plain
14
15 Index: lsof-4.85-arg.c.patch
16 ===================================================================
17 arg.c.patch Patches: lsof_4.85_src/arg.c
18
19 Importance: major for all dialects supporting
20 the +|-e option (e.g., Linux)
21
22 Function: this patch corrects a bug in the
23 accumulation of multiple +|-e
24 option values
25
26 *** /tmp/T0iAaaeo Thu Oct 20 14:08:43 2011
27 --- arg.c Thu Oct 20 14:03:49 2011
28 ***************
29 *** 778,785 ****
30 ep->pathl = i;
31 ep->rdlnk = rdlnk;
32 ep->mp = (struct mounts *)NULL;
33 ! if (!(ep->next = Efsysl))
34 ! Efsysl = ep;
35 return(0);
36 }
37 #endif /* defined(HASEOPT) */
38 --- 778,785 ----
39 ep->pathl = i;
40 ep->rdlnk = rdlnk;
41 ep->mp = (struct mounts *)NULL;
42 ! ep->next = Efsysl;
43 ! Efsysl = ep;
44 return(0);
45 }
46 #endif /* defined(HASEOPT) */