sysutils/lsof: update post r363214.
Submitted by: mjg
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
PORTNAME= lsof
|
||||
DISTVERSION= 4.93.2
|
||||
PORTREVISION= 11
|
||||
PORTREVISION= 12
|
||||
PORTEPOCH= 8
|
||||
CATEGORIES= sysutils
|
||||
|
||||
|
||||
@@ -31,7 +31,15 @@
|
||||
static ofb_t *ofb = NULL;
|
||||
static int ofbb = 0;
|
||||
int pgid, pid;
|
||||
@@ -312,6 +329,22 @@ gather_proc_info()
|
||||
@@ -305,13 +322,29 @@ gather_proc_info()
|
||||
if (!fd.fd_files
|
||||
|| kread((KA_T)fd.fd_files, (char *)&fdt, sizeof(fdt)))
|
||||
continue;
|
||||
- if (!fd.fd_refcnt || fd.fd_lastfile > fdt.fdt_nfiles)
|
||||
+ if (!fd.fd_refcnt)
|
||||
continue;
|
||||
#else /* !defined(HAS_FDESCENTTBL) */
|
||||
if (!fd.fd_refcnt || fd.fd_lastfile > fd.fd_nfiles)
|
||||
continue;
|
||||
#endif /* defined(HAS_FDESCENTTBL) */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user