pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/lsof
Module Name: pkgsrc
Committed By: wiz
Date: Sun Apr 19 08:56:00 UTC 2026
Modified Files:
pkgsrc/sysutils/lsof: Makefile distinfo
Added Files:
pkgsrc/sysutils/lsof/patches: patch-lib_rnmt.c
Log Message:
lsof: fix pointer/value confusion
Now writes the full file path names in the NAME column again.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.145 pkgsrc/sysutils/lsof/Makefile
cvs rdiff -u -r1.110 -r1.111 pkgsrc/sysutils/lsof/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/lsof/patches/patch-lib_rnmt.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/lsof/Makefile
diff -u pkgsrc/sysutils/lsof/Makefile:1.144 pkgsrc/sysutils/lsof/Makefile:1.145
--- pkgsrc/sysutils/lsof/Makefile:1.144 Fri Dec 26 08:59:48 2025
+++ pkgsrc/sysutils/lsof/Makefile Sun Apr 19 08:55:59 2026
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.144 2025/12/26 08:59:48 kim Exp $
+# $NetBSD: Makefile,v 1.145 2026/04/19 08:55:59 wiz Exp $
DISTNAME= lsof_4.91
PKGNAME= ${DISTNAME:S/_/-/}
-PKGREVISION= 7
+PKGREVISION= 8
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/
MASTER_SITES+= ftp://ftp.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof/OLD/
Index: pkgsrc/sysutils/lsof/distinfo
diff -u pkgsrc/sysutils/lsof/distinfo:1.110 pkgsrc/sysutils/lsof/distinfo:1.111
--- pkgsrc/sysutils/lsof/distinfo:1.110 Tue Jun 17 02:38:48 2025
+++ pkgsrc/sysutils/lsof/distinfo Sun Apr 19 08:55:59 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.110 2025/06/17 02:38:48 gutteridge Exp $
+$NetBSD: distinfo,v 1.111 2026/04/19 08:55:59 wiz Exp $
BLAKE2s (lsof_4.91.tar.bz2) = 77109e036c36f7d1483e69f2aae2314830dc4d2bdc3bf88a4031832f17e6afef
SHA512 (lsof_4.91.tar.bz2) = 49f811941dd6303f7cb0655fddb8b1177af5d1b18f2bd1edfab09d2c128aea73daecf09c7a5375979c66ba764c88a6e70c9086b55c3634e3be01ab1aa12e9f92
@@ -14,3 +14,4 @@ SHA1 (patch-ah) = 2de22b9a3733f958298af5
SHA1 (patch-dialects_n+obsd_dnode1.c) = dc8c766760aca4eb2e7d7af3944260dd49795c09
SHA1 (patch-dialects_n+obsd_dsock.c) = dadbb0196024c12f59d77b838917036bf90a4e35
SHA1 (patch-lib_Makefile.skel) = abfb9d50eef60c5d43cbf4978bf179de0ebe371e
+SHA1 (patch-lib_rnmt.c) = 135d5fcf394015e010a3b906b9a9104ebdc197e3
Added files:
Index: pkgsrc/sysutils/lsof/patches/patch-lib_rnmt.c
diff -u /dev/null pkgsrc/sysutils/lsof/patches/patch-lib_rnmt.c:1.1
--- /dev/null Sun Apr 19 08:56:00 2026
+++ pkgsrc/sysutils/lsof/patches/patch-lib_rnmt.c Sun Apr 19 08:56:00 2026
@@ -0,0 +1,22 @@
+$NetBSD: patch-lib_rnmt.c,v 1.1 2026/04/19 08:56:00 wiz Exp $
+
+Fix pointer/value confusion.
+
+--- lib/rnmt.c.orig 2026-04-19 08:51:39.365426497 +0000
++++ lib/rnmt.c
+@@ -188,13 +188,13 @@ build_path(char **buf, size_t *remaining, const struct
+ return;
+
+ build_path(buf, remaining, lnc->lnc_plnc);
+- if (remaining == 0) {
++ if (*remaining == 0) {
+ return;
+ }
+ if (lnc->lnc_plnc != NULL) {
+ **buf = '/';
+ (*buf)++;
+- remaining--;
++ (*remaining)--;
+ }
+ len = lnc->lnc_nlen;
+ if (*remaining < len)
Home |
Main Index |
Thread Index |
Old Index