summaryrefslogtreecommitdiff
path: root/sys-process/lsof-4.88/linux.dnode.c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/lsof-4.88/linux.dnode.c.patch')
-rw-r--r--sys-process/lsof-4.88/linux.dnode.c.patch19
1 files changed, 19 insertions, 0 deletions
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;
+ }