[Bug 290362] find: duplicate path component printed on SIGINFO

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 19 Oct 2025 12:55:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290362

            Bug ID: 290362
           Summary: find: duplicate path component printed on SIGINFO
           Product: Base System
           Version: 15.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: jfc@mit.edu

If I type ^T while find is running, it prints the pathname it is looking at
with the last component duplicated.

# find * -type d -user root
load: 3.59  cmd: find 77496 [running] 30.37r 0.50u 10.42s 17% 8392k
Scanning: 2025/L-01-raw/L1001179.DNG/L1001179.DNG
Scanned: 440513

"2025/L-01-raw/L1001179.DNG" is a file, not a directory.

This code was introduced in 2024 in commit
d06a00963b7f724b6fdd7d7cdcbed57c534196a9.

-- 
You are receiving this mail because:
You are the assignee for the bug.