Fixing lsof-4.89 for Darwin
This commit is contained in:
18
pkgs/development/tools/misc/lsof/dfile.patch
Normal file
18
pkgs/development/tools/misc/lsof/dfile.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
--- lsof_4.89_src/dialects/darwin/libproc/dfile.c 2014-10-30 12:39:46.000000000 +0100
|
||||
+++ lsof_4.89_src/dialects/darwin/libproc/dfile_new.c 2016-10-04 13:44:58.000000000 +0200
|
||||
@@ -286,13 +286,13 @@
|
||||
|
||||
#if defined(PROC_FP_GUARDED)
|
||||
if (extra > 1)
|
||||
- putchar(`,');
|
||||
+ putchar(',');
|
||||
if (lf->guardflags) {
|
||||
struct pff_tab *tp;
|
||||
long gf;
|
||||
|
||||
(void) printf("guard=");
|
||||
- tp = Pgf_tab;
|
||||
+ tp = Pff_tab;
|
||||
gf = lf->guardflags;
|
||||
while (gf && !FsvFlagX) {
|
||||
while (tp->nm) {
|
||||
Reference in New Issue
Block a user