From 1800f1fe8e03332297721d4a7704382d89fc422c Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 2 Mar 2015 21:28:38 +0000 Subject: linux.dnode.c.patch --- sys-process/lsof-4.88/linux.dnode.c.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sys-process/lsof-4.88/linux.dnode.c.patch diff --git a/sys-process/lsof-4.88/linux.dnode.c.patch b/sys-process/lsof-4.88/linux.dnode.c.patch new file mode 100644 index 0000000..42a3d17 --- /dev/null +++ b/sys-process/lsof-4.88/linux.dnode.c.patch @@ -0,0 +1,19 @@ +*** dnode.c +--- lsof_4.88_src/dialects/linux/dnode.c +*************** +*** 580,586 **** + Lf->inp_ty = 1; + + #if defined(HASEPTOPTS) +! if (Lf->ntype == N_FIFO) { + (void) enter_pinfo(); + Lf->sf |= SELPINFO; + } +--- 580,586 ---- + Lf->inp_ty = 1; + + #if defined(HASEPTOPTS) +! if ((Lf->ntype == N_FIFO) && FpipeE) { + (void) enter_pinfo(); + Lf->sf |= SELPINFO; + } -- cgit v1.2.3