summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-03-02 21:28:38 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-03-02 21:28:38 +0000
commit1800f1fe8e03332297721d4a7704382d89fc422c (patch)
tree246c10f7f28be0755a6a372eb86e393e2604ec44
parentApply to all versions (diff)
downloadpatches-1800f1fe8e03332297721d4a7704382d89fc422c.tar.bz2
patches-1800f1fe8e03332297721d4a7704382d89fc422c.tar.xz
patches-1800f1fe8e03332297721d4a7704382d89fc422c.zip
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;
+ }