head 1.2; access; symbols; locks; strict; comment @ * @; 1.2 date 2026.04.19.09.27.44; author wiz; state dead; branches; next 1.1; commitid aw1Aj5xpnhzHcyCG; 1.1 date 2026.04.19.08.56.00; author wiz; state Exp; branches; next ; commitid OCoLkigAtMmI1yCG; desc @@ 1.2 log @lsof: apply patch directly to implementation in files/ noted by tnn @ text @$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) @ 1.1 log @lsof: fix pointer/value confusion Now writes the full file path names in the NAME column again. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @