head 1.12; access; symbols pkgsrc-2026Q1:1.12.0.72 pkgsrc-2026Q1-base:1.12 pkgsrc-2025Q4:1.12.0.70 pkgsrc-2025Q4-base:1.12 pkgsrc-2025Q3:1.12.0.68 pkgsrc-2025Q3-base:1.12 pkgsrc-2025Q2:1.12.0.66 pkgsrc-2025Q2-base:1.12 pkgsrc-2025Q1:1.12.0.64 pkgsrc-2025Q1-base:1.12 pkgsrc-2024Q4:1.12.0.62 pkgsrc-2024Q4-base:1.12 pkgsrc-2024Q3:1.12.0.60 pkgsrc-2024Q3-base:1.12 pkgsrc-2024Q2:1.12.0.58 pkgsrc-2024Q2-base:1.12 pkgsrc-2024Q1:1.12.0.56 pkgsrc-2024Q1-base:1.12 pkgsrc-2023Q4:1.12.0.54 pkgsrc-2023Q4-base:1.12 pkgsrc-2023Q3:1.12.0.52 pkgsrc-2023Q3-base:1.12 pkgsrc-2023Q2:1.12.0.50 pkgsrc-2023Q2-base:1.12 pkgsrc-2023Q1:1.12.0.48 pkgsrc-2023Q1-base:1.12 pkgsrc-2022Q4:1.12.0.46 pkgsrc-2022Q4-base:1.12 pkgsrc-2022Q3:1.12.0.44 pkgsrc-2022Q3-base:1.12 pkgsrc-2022Q2:1.12.0.42 pkgsrc-2022Q2-base:1.12 pkgsrc-2022Q1:1.12.0.40 pkgsrc-2022Q1-base:1.12 pkgsrc-2021Q4:1.12.0.38 pkgsrc-2021Q4-base:1.12 pkgsrc-2021Q3:1.12.0.36 pkgsrc-2021Q3-base:1.12 pkgsrc-2021Q2:1.12.0.34 pkgsrc-2021Q2-base:1.12 pkgsrc-2021Q1:1.12.0.32 pkgsrc-2021Q1-base:1.12 pkgsrc-2020Q4:1.12.0.30 pkgsrc-2020Q4-base:1.12 pkgsrc-2020Q3:1.12.0.28 pkgsrc-2020Q3-base:1.12 pkgsrc-2020Q2:1.12.0.24 pkgsrc-2020Q2-base:1.12 pkgsrc-2020Q1:1.12.0.4 pkgsrc-2020Q1-base:1.12 pkgsrc-2019Q4:1.12.0.26 pkgsrc-2019Q4-base:1.12 pkgsrc-2019Q3:1.12.0.22 pkgsrc-2019Q3-base:1.12 pkgsrc-2019Q2:1.12.0.20 pkgsrc-2019Q2-base:1.12 pkgsrc-2019Q1:1.12.0.18 pkgsrc-2019Q1-base:1.12 pkgsrc-2018Q4:1.12.0.16 pkgsrc-2018Q4-base:1.12 pkgsrc-2018Q3:1.12.0.14 pkgsrc-2018Q3-base:1.12 pkgsrc-2018Q2:1.12.0.12 pkgsrc-2018Q2-base:1.12 pkgsrc-2018Q1:1.12.0.10 pkgsrc-2018Q1-base:1.12 pkgsrc-2017Q4:1.12.0.8 pkgsrc-2017Q4-base:1.12 pkgsrc-2017Q3:1.12.0.6 pkgsrc-2017Q3-base:1.12 pkgsrc-2017Q2:1.12.0.2 pkgsrc-2017Q2-base:1.12 pkgsrc-2017Q1:1.11.0.82 pkgsrc-2017Q1-base:1.11 pkgsrc-2016Q4:1.11.0.80 pkgsrc-2016Q4-base:1.11 pkgsrc-2016Q3:1.11.0.78 pkgsrc-2016Q3-base:1.11 pkgsrc-2016Q2:1.11.0.76 pkgsrc-2016Q2-base:1.11 pkgsrc-2016Q1:1.11.0.74 pkgsrc-2016Q1-base:1.11 pkgsrc-2015Q4:1.11.0.72 pkgsrc-2015Q4-base:1.11 pkgsrc-2015Q3:1.11.0.70 pkgsrc-2015Q3-base:1.11 pkgsrc-2015Q2:1.11.0.68 pkgsrc-2015Q2-base:1.11 pkgsrc-2015Q1:1.11.0.66 pkgsrc-2015Q1-base:1.11 pkgsrc-2014Q4:1.11.0.64 pkgsrc-2014Q4-base:1.11 pkgsrc-2014Q3:1.11.0.62 pkgsrc-2014Q3-base:1.11 pkgsrc-2014Q2:1.11.0.60 pkgsrc-2014Q2-base:1.11 pkgsrc-2014Q1:1.11.0.58 pkgsrc-2014Q1-base:1.11 pkgsrc-2013Q4:1.11.0.56 pkgsrc-2013Q4-base:1.11 pkgsrc-2013Q3:1.11.0.54 pkgsrc-2013Q3-base:1.11 pkgsrc-2013Q2:1.11.0.52 pkgsrc-2013Q2-base:1.11 pkgsrc-2013Q1:1.11.0.50 pkgsrc-2013Q1-base:1.11 pkgsrc-2012Q4:1.11.0.48 pkgsrc-2012Q4-base:1.11 pkgsrc-2012Q3:1.11.0.46 pkgsrc-2012Q3-base:1.11 pkgsrc-2012Q2:1.11.0.44 pkgsrc-2012Q2-base:1.11 pkgsrc-2012Q1:1.11.0.42 pkgsrc-2012Q1-base:1.11 pkgsrc-2011Q4:1.11.0.40 pkgsrc-2011Q4-base:1.11 pkgsrc-2011Q3:1.11.0.38 pkgsrc-2011Q3-base:1.11 pkgsrc-2011Q2:1.11.0.36 pkgsrc-2011Q2-base:1.11 pkgsrc-2011Q1:1.11.0.34 pkgsrc-2011Q1-base:1.11 pkgsrc-2010Q4:1.11.0.32 pkgsrc-2010Q4-base:1.11 pkgsrc-2010Q3:1.11.0.30 pkgsrc-2010Q3-base:1.11 pkgsrc-2010Q2:1.11.0.28 pkgsrc-2010Q2-base:1.11 pkgsrc-2010Q1:1.11.0.26 pkgsrc-2010Q1-base:1.11 pkgsrc-2009Q4:1.11.0.24 pkgsrc-2009Q4-base:1.11 pkgsrc-2009Q3:1.11.0.22 pkgsrc-2009Q3-base:1.11 pkgsrc-2009Q2:1.11.0.20 pkgsrc-2009Q2-base:1.11 pkgsrc-2009Q1:1.11.0.18 pkgsrc-2009Q1-base:1.11 pkgsrc-2008Q4:1.11.0.16 pkgsrc-2008Q4-base:1.11 pkgsrc-2008Q3:1.11.0.14 pkgsrc-2008Q3-base:1.11 cube-native-xorg:1.11.0.12 cube-native-xorg-base:1.11 pkgsrc-2008Q2:1.11.0.10 pkgsrc-2008Q2-base:1.11 cwrapper:1.11.0.8 pkgsrc-2008Q1:1.11.0.6 pkgsrc-2008Q1-base:1.11 pkgsrc-2007Q4:1.11.0.4 pkgsrc-2007Q4-base:1.11 pkgsrc-2007Q3:1.11.0.2 pkgsrc-2007Q3-base:1.11 pkgsrc-2007Q2:1.10.0.8 pkgsrc-2007Q2-base:1.10 pkgsrc-2007Q1:1.10.0.6 pkgsrc-2007Q1-base:1.10 pkgsrc-2006Q4:1.10.0.4 pkgsrc-2006Q4-base:1.10 pkgsrc-2006Q3:1.10.0.2 pkgsrc-2006Q3-base:1.10 pkgsrc-2006Q2:1.8.0.12 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.8.0.10 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.8.0.8 pkgsrc-2005Q4-base:1.8 pkgsrc-2005Q3:1.8.0.6 pkgsrc-2005Q3-base:1.8 pkgsrc-2005Q2:1.8.0.4 pkgsrc-2005Q2-base:1.8 pkgsrc-2005Q1:1.8.0.2 pkgsrc-2005Q1-base:1.8 pkgsrc-2004Q4:1.7.0.2 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.1.0.2 netbsd-1-6-1-base:1.1; locks; strict; comment @# @; 1.12 date 2017.06.22.20.48.04; author tnn; state Exp; branches; next 1.11; commitid UBuQ0kBLEcE7zpWz; 1.11 date 2007.08.14.19.59.18; author veego; state Exp; branches; next 1.10; 1.10 date 2006.08.01.12.29.59; author tron; state Exp; branches; next 1.9; 1.9 date 2006.08.01.12.24.12; author tron; state Exp; branches; next 1.8; 1.8 date 2005.01.17.14.54.01; author atatat; state dead; branches; next 1.7; 1.7 date 2004.12.18.05.30.33; author atatat; state Exp; branches; next 1.6; 1.6 date 2004.11.30.02.02.13; author atatat; state Exp; branches; next 1.5; 1.5 date 2004.11.28.22.39.07; author atatat; state Exp; branches; next 1.4; 1.4 date 2003.11.22.23.19.47; author christos; state dead; branches; next 1.3; 1.3 date 2003.08.13.13.24.17; author atatat; state Exp; branches; next 1.2; 1.2 date 2003.03.27.14.13.27; author atatat; state dead; branches; next 1.1; 1.1 date 2003.02.03.01.03.15; author atatat; state Exp; branches; next ; desc @@ 1.12 log @NetBSD>=8.99.1 needs __EXPOSE_MOUNT defined @ text @$NetBSD: patch-ae,v 1.11 2007/08/14 19:59:18 veego Exp $ --- dialects/n+obsd/dmnt.c.orig 2005-08-08 19:53:31.000000000 +0000 +++ dialects/n+obsd/dmnt.c @@@@ -45,6 +45,18 @@@@ static char *rcsid = "$Id: dmnt.c,v 1.12 #include #endif /* defined(NETBSDV) && defined(HASSTATVFS) */ +#if defined(NETBSDV) +#include + +#if __NetBSD_Version__ >= 899000100 +#define __EXPOSE_MOUNT +#endif +#if __NetBSD_Version__ >= 399002400 +#include +#include +#endif +#endif + #include "lsof.h" @@@@ -94,7 +106,12 @@@@ readmnt() for (; n; n--, mb++) { if (mb->f_fstypename[0] == '\0') continue; +#if defined(NETBSDV) && __NetBSD_Version__ >= 499002500 + /* MFSNAMELEN was removed from the kernel source after 4.99.24 */ + mb->f_fstypename[sizeof(mb->f_fstypename) - 1] = '\0'; +#else mb->f_fstypename[MFSNAMELEN - 1] = '\0'; +#endif /* * Interpolate a possible symbolic directory link. */ @ 1.11 log @- Don't hardcode the MFSNAMELEN length, inspired by commits from Christos (patch-ae and patch-af). Fix PR 36680 - Define NETBSD_SYS in the pkgsrc Makefile so it works if NETBSDSRCDIR is not pointing to a default location and thus some featues, like ptyfs support were disabled - Update the line numbers in patch-aa - Add tmpfs support (patch-ad, patch-af and patch-ag) - Update the NetBSD versions in Configure otherwise NETBSDV would fall back to 1006000 and so at least one feature was not found, the PFSfd procfs support (patch-ag) - Bump pkg revision for new features (normaly I wouldn't have bumped the version if it were only to fix a -current compile, because the version also includes the kernel version) @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.10 2006/08/01 12:29:59 tron Exp $ d3 3 a5 3 --- dialects/n+obsd/dmnt.c.orig 2005-08-08 21:53:31.000000000 +0200 +++ dialects/n+obsd/dmnt.c 2007-08-11 14:43:05.000000000 +0200 @@@@ -45,6 +45,15 @@@@ d12 3 d24 1 a24 1 @@@@ -94,7 +103,12 @@@@ @ 1.10 log @Make this build again with NetBSD older than 3.99.24. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- dialects/n+obsd/dmnt.c.orig 2005-08-08 20:53:31.000000000 +0100 +++ dialects/n+obsd/dmnt.c 2006-08-01 13:25:57.000000000 +0100 d21 13 @ 1.9 log @Make this build under NetBSD 3.99.24 and newer. @ text @d4 2 a5 2 +++ dialects/n+obsd/dmnt.c 2006-08-01 13:20:30.000000000 +0100 @@@@ -45,6 +45,11 @@@@ d10 3 d16 1 @ 1.8 log @Upgrade to lsof version 4.74, thereby getting rid of most of the accumulated patches. Changes related to or affecting NetBSD (or pkgsrc) from the 00DIST file: 4.74 January 17, 2005 ... Updated lsof for NetBSD 2.99.10 and tested it on a system provided by Andrew Brown . ... Added BSDI, FreeBSD, NetBSD and OpenBSD support for the *effnlink member of the inode structure. This makes the lsof LTnlink test run faster on all modified dialects and correctly on OpenBSD. Added ptyfs support for NetBSD, using modifications provided by Andrew Brown. Changed the netbsd Configure stanza to look by default for system header files in both /usr/include and /usr/src. (The NETBSD_SYS environment variable can still be used to select an alternate for /usr/src.) ... @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.7 2004/12/18 05:30:33 atatat Exp $ d3 10 a12 87 Incorporate a patch from the author that widens the NETBSDV definition to account for new current versioning system, properly handles the sys/bufq.h mess, adds a bit more to procfs support, and adds ptyfs support. --- dialects/n+obsd/dnode.c.orig 2004-07-06 15:20:23.000000000 -0400 +++ dialects/n+obsd/dnode.c @@@@ -188,7 +188,7 @@@@ process_node(va) struct mfsnode m; struct nfsnode n; enum nodetype {NONODE, CDFSNODE, DOSNODE, EXT2NODE, FDESCNODE, INODE, - KERNFSNODE, MFSNODE, NFSNODE, PFSNODE} nty; + KERNFSNODE, MFSNODE, NFSNODE, PFSNODE, PTYFSNODE} nty; enum vtype type; struct vnode *v, vb; struct l_vfs *vfs; @@@@ -262,6 +262,11 @@@@ process_node(va) size_t sz; #endif /* defined(HASPROCFS) */ +#if defined(HASPTYFS) + struct ptyfsnode pt; + struct specinfo si; +#endif /* defined(HASPTYFS) */ + #if defined(HASNULLFS) process_overlaid_node: @@@@ -523,6 +528,19 @@@@ process_overlaid_node: break; #endif /* defined(HASPROCFS) */ +#if defined(HASPTYFS) + case VT_PTYFS: + if (!v->v_data + || kread((KA_T)v->v_data, (char *)&pt, sizeof(pt))) { + (void) snpf(Namech, Namechl, "can't read ptyfsnode at: %s", + print_kptr((KA_T)v->v_data, (char *)NULL, 0)); + enter_nm(Namech); + return; + } + nty = PTYFSNODE; + break; +#endif /* defined(HASPTYFS) */ + #if defined(HASEXT2FS) case VT_EXT2FS: #endif /* defined(HASEXT2FS) */ @@@@ -769,6 +787,21 @@@@ process_overlaid_node: case NFSNODE: dev = NVATTR.va_fsid; devs = 1; + +#if defined(HASPTYFS) + case PTYFSNODE: + if (v->v_un.vu_specinfo + && !kread((KA_T)v->v_un.vu_specinfo, (char *)&si, sizeof(si))) { + rdev = si.si_rdev; + rdevs = 1; + } + if (vfs) { + dev = (dev_t)vfs->fsid.__fsid_val[0]; + devs = 1; + } + break; +#endif /* defined(HASPTYFS) */ + } /* * Obtain the inode number. @@@@ -836,6 +869,20 @@@@ process_overlaid_node: break; #endif /* defined(HASPROCFS) */ +#if defined(HASPTYFS) + case PTYFSNODE: + if (pt.ptyfs_type == PTYFSptc) { + if (pt.ptyfs_fileno >= 0x3fffffff) + Lf->inode = (unsigned long)(pt.ptyfs_fileno & 0x3fffffff); + else + Lf->inode = (unsigned long)(pt.ptyfs_fileno - 1); + } + else + Lf->inode = (unsigned long)pt.ptyfs_fileno; + Lf->inp_ty = 1; + break; +#endif /* defined(HASPTYFS) */ d14 1 a14 1 } a15 4 /* @@@@ -1009,27 +1052,26 @@@@ process_overlaid_node: switch (nty) { case INODE: a16 116 +#if defined(HASEFFNLINK) + Lf->nlink = (long)i.HASEFFNLINK; +#else /* !defined(HASEFFNLINK) */ # if defined(HASI_FFS) Lf->nlink = (long)i.i_ffs_nlink; - Lf->nlink_def = 1; # else /* !defined(HASI_FFS) */ # if defined(HASI_FFS1) if (ffs == 1) { - if (u1s) { + if (u1s) Lf->nlink = (long)u1.di_nlink; - Lf->nlink_def = 1; - } } else if (ffs == 2) { - if (u2s) { + if (u2s) Lf->nlink = (long)u2.di_nlink; - Lf->nlink_def = 1; - } } # else /* !defined(HASI_FFS1) */ + Lf->nlink = (long)i.i_nlink; - Lf->nlink_def = 1; # endif /* defined(HASI_FFS1) */ # endif /* defined(HASI_FFS) */ +#endif /* defined(HASEFFNLINK) */ Lf->nlink_def = 1; break; @@@@ -1152,7 +1194,8 @@@@ process_overlaid_node: * ioctl(fd, TIOCNOTTY) files; * /kern files * memory node files; - * /proc files. + * /proc files; + * ptyfs files. */ if (type == VBAD) @@@@ -1222,14 +1265,62 @@@@ process_overlaid_node: (void) snpf(ep, sz, "/%d/notepg", p.pfs_pid); ty = "PGID"; break; + +# if defined(Pfd) + case Pfd: + ep = endnm(&sz); + (void) snpf(ep, sz, "/%d/fd", p.pfs_pid); + ty = "PFD"; + break; +# endif /* defined(Pfd) */ + +# if defined(Pmap) + case Pmap: + ep = endnm(&sz); + (void) snpf(ep, sz, "/%d/map", p.pfs_pid); + ty = "PMAP"; + break; +# endif /* defined(Pmap) */ + +# if defined(Pmaps) + case Pmaps: + ep = endnm(&sz); + (void) snpf(ep, sz, "/%d/maps", p.pfs_pid); + ty = "PMPS"; + break; +# endif /* defined(Pmaps) */ + } if (ty) (void) snpf(Lf->type, sizeof(Lf->type), ty); - if (Namech[0]) - enter_nm(Namech); } #endif /* defined(HASPROCFS) */ +#if defined(HASPTYFS) + else if (nty == PTYFSNODE) { + (void) snpf(Namech, Namechl, "%s", Lf->fsdir); + Lf->nlink = 1; + Lf->nlink_def = 1; + switch (pt.ptyfs_type) { + case PTYFSpts: + ep = endnm(&sz); + (void) snpf(ep, sz, "/%lu", (unsigned long)pt.ptyfs_pty); + break; + case PTYFSptc: + ep = endnm(&sz); + (void) snpf(ep, sz, "/%lu (master)", + (unsigned long)pt.ptyfs_pty); + break; + case PTYFSroot: + Lf->sz = 512; + Lf->sz_def = 1; + break; + } + if (ty) + (void) snpf(Lf->type, sizeof(Lf->type), ty); + } +#endif /* defined(HASPTYFS) */ + #if defined(HASBLKDEV) /* * If this is a VBLK file and it's missing an inode number, try to @@@@ -1283,7 +1374,9 @@@@ process_overlaid_node: if (Sfile && is_file_named((char *)NULL, ((type == VCHR) || (type == VBLK)) ? 1 : 0)) + { Lf->sf |= SELNM; + } if (ns) Namech[0] = '\0'; } @ 1.7 log @Fix lsof to deal with the new ptyfs fake inode number allocation scheme. This code now does both. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.6 2004/11/30 02:02:13 atatat Exp $ @ 1.6 log @Redo three patches to address build failure on NetBSD <= 1.6ZC, to change the reported node number for the master side of ptyfs devices, and to deal more cleanly with some header files. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.5 2004/11/28 22:39:07 atatat Exp $ d73 1 a73 1 @@@@ -836,6 +869,16 @@@@ process_overlaid_node: d79 6 a84 2 + if (pt.ptyfs_type == PTYFSptc) + Lf->inode = (unsigned long)(pt.ptyfs_fileno & 0x3fffffff); @ 1.5 log @Tweak the sys/bufq.h support (it disappeared again), enhance the procfs support a little, incorporate the author's patches to deal with netbsd-current version numbers getting longer, and add ptyfs support. These patches are adapted from an interim release the author made and will appear in the next full release. PKGREVISION bumped to 1 for the ptyfs support. @ text @d1 1 a1 1 $NetBSD$ d73 1 a73 1 @@@@ -836,6 +869,13 @@@@ process_overlaid_node: d79 4 a82 1 + Lf->inode = (unsigned long)pt.ptyfs_fileno; d90 36 a125 1 @@@@ -1152,7 +1192,8 @@@@ process_overlaid_node: d135 1 a135 1 @@@@ -1222,14 +1263,52 @@@@ process_overlaid_node: d139 2 d146 3 d154 3 d162 2 d200 1 a200 1 @@@@ -1283,7 +1362,9 @@@@ process_overlaid_node: @ 1.4 log @4.69 is out, 4.68 is gone. Approved by agc. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.3 2003/08/13 13:24:17 atatat Exp $ d3 4 a6 1 Patch for vnode/DNLC interface change courtesy of lsof maintainer. d8 14 a21 11 --- lsof.h.orig 2003-06-11 07:36:32.000000000 -0400 +++ lsof.h 2003-08-11 14:33:38.000000000 -0400 @@@@ -651,9 +651,9 @@@@ KA_T na; /* file structure's node address */ # endif /* defined(HASNCACHE) && HASNCACHE<2 */ -# if defined(HASNCACHE) && defined(HASNCAPID) +# if defined(HASNCACHE) && defined(HASNCVPID) unsigned long id; /* capability ID */ -# endif /* defined(HASNCACHE) && defined(HASNCAPID) */ +# endif /* defined(HASNCACHE) && defined(HASNCVPID) */ d23 139 a161 2 # if defined(HASLFILEADD) HASLFILEADD @ 1.3 log @A patch (courtesy of the lsof maintainer) to make lsof build again on NetBSD-current, where the structure of the vnode has been altered. This patch will, as usual, be obsoleted by the next lsof release. PKGREVISION bumped accordingly. Install the lsof.8 man page in man8 instead of installing the preformatted copy in man1 (doing so used to slide by, by new groff really doesn't like formatting preformatted man pages, and besides, it was in the wrong place). Since the only thing left untouched was the DESCR file, I also added mention of kqueues as something lsof might note, meaning that this patch touches every file in the pkg. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Upgrade to lsof version 4.67. Changes related to or affecting NetBSD (or pkgsrc) from the 00DIST file: 4.67 March 27, 2003 Began the transition of the lsof ftp server host name from vic.cc.purdue.edu to lsof.itap.purdue.edu. That reflects Purdue organizational changes. This first step makes the new name an alias to the old one. The old name, vic.cc.purdue.edu, will remain usable for an extended period. ... At the request of Alek O. Komarnitsky added the "+c " option to enable optional changing of the COMMAND column output maximum width from the default to . The default maximum width remains CMDL, as defined in lsof.h. ... Added kernel event queue file support for FreeBSD, NetBSD and OpenBSD. Andrew Brown supplied the code. ... Augmented a lock ID test on NetBSD to check if the ID is an LWP pointer. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.1 2003/02/03 01:03:15 atatat Exp $ d3 1 a3 1 kqueue support, part 4 of 4 d5 5 a9 5 --- lib/prfp.c.orig 2000-08-02 08:53:07.000000000 -0400 +++ lib/prfp.c @@@@ -159,6 +159,12 @@@@ process_file(fp) return; #endif /* defined(HASPRIVFILETYPE) */ d11 8 a18 9 +#if defined(DTYPE_KQUEUE) + case DTYPE_KQUEUE: + process_kqueue((KA_T)f.f_data); + return; +#endif /* defined(DTYPE_KQUEUE) */ + default: if (f.f_type || f.f_ops) { (void) snpf(Namech, Namechl, @ 1.1 log @Add kqueue support to lsof. Bump PKGREVISION to 1, making this 4.66nb1. This patch will be included in the next lsof release. @ text @d1 1 a1 1 $NetBSD$ @