aboutsummaryrefslogtreecommitdiff
blob: 98838cd772f352a72e4d9f74774cdb094590a49f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
arg.c.patch	Patches: lsof_4.85_src/arg.c

			 Importance: major for all dialects supporting
				     the +|-e option (e.g., Linux)

			 Function: this patch corrects a bug in the
				   accumulation of multiple +|-e
				   option values

*** /tmp/T0iAaaeo	Thu Oct 20 14:08:43 2011
--- arg.c	Thu Oct 20 14:03:49 2011
***************
*** 778,785 ****
  	ep->pathl = i;
  	ep->rdlnk = rdlnk;
  	ep->mp = (struct mounts *)NULL;
! 	if (!(ep->next = Efsysl))
! 	    Efsysl = ep;
  	return(0);
  }
  #endif	/* defined(HASEOPT) */
--- 778,785 ----
  	ep->pathl = i;
  	ep->rdlnk = rdlnk;
  	ep->mp = (struct mounts *)NULL;
! 	ep->next = Efsysl;
! 	Efsysl = ep;
  	return(0);
  }
  #endif	/* defined(HASEOPT) */