Date: Sat, 22 Nov 2025 14:54:43 +0000 From: Alan Somers <asomers@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: cd81f86919c1 - stable/14 - find: fix pathnames printed by the SIGINFO handler Message-ID: <6921ceb3.3196e.5b41fa5f@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by asomers: URL: https://cgit.FreeBSD.org/src/commit/?id=cd81f86919c146fb9da4425a2a424e1447e3b355 commit cd81f86919c146fb9da4425a2a424e1447e3b355 Author: Alan Somers <asomers@FreeBSD.org> AuthorDate: 2025-10-19 15:53:50 +0000 Commit: Alan Somers <asomers@FreeBSD.org> CommitDate: 2025-11-22 14:54:07 +0000 find: fix pathnames printed by the SIGINFO handler Don't duplicate the last component. PR: 290362 Reported by: John F. Carr <jfc@mit.edu> Fixes: d06a00963b7 Reviewed by: jilles, Goran Mekić <meka@tilda.center> Pull Request: https://github.com/freebsd/freebsd-src/pull/1878 (cherry picked from commit f6d767fe862964f704baf4eb388a30ed8227bb65) --- usr.bin/find/find.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/find/find.c b/usr.bin/find/find.c index 46f0e9b3c38b..1d91256469dc 100644 --- a/usr.bin/find/find.c +++ b/usr.bin/find/find.c @@ -216,7 +216,7 @@ find_execute(PLAN *plan, char *paths[]) } if (showinfo) { - fprintf(stderr, "Scanning: %s/%s\n", entry->fts_path, entry->fts_name); + fprintf(stderr, "Scanning: %s\n", entry->fts_path); fprintf(stderr, "Scanned: %zu\n\n", counter); showinfo = 0; }help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6921ceb3.3196e.5b41fa5f>
