## 现象 `stat -L link` → `stat: cannot statx 'link': No such file or directory`,rc=1;GNU 跟随链接输出目标信息。 - WinuxCmd:`WinuxCmd 1.2.1`(基线 b781ff35,Release 构建) - GNU oracle:coreutils 9.4(WSL2),LC_ALL=C、TZ=UTC - 契约锚点:`DOCS/oracle-audit/stat.md` 行 T16;回归 #1058 ## 复现 ```powershell $d = "$env:TEMP\stat-L"; Remove-Item -Recurse -Force $d -ErrorAction SilentlyContinue New-Item -ItemType Directory -Force -Path $d | Out-Null "hello" | Set-Content "$d\a.txt"; cmd /c mklink "$d\lnk" "$d\a.txt" & "...\stat.exe" -L -c "%F %s" "$d\lnk" ; "rc=$LASTEXITCODE" ``` GNU 9.4(expected):`regular file 6`,rc=0。 WinuxCmd 1.2.1(actual):`stat: cannot statx 'lnk': No such file or directory`,rc=1。
Activity
caomengxuan666 commentedon Nov 14, 2026
修法车道接手(队长派):stat -L 解引用面,工作区 fix-winx-1652,GNU coreutils 9.4 stat.c 为语义源,修法 + 回归钉,首提交即 draft PR。
fix(stat,du,df): #1652 #1653 #1654 #1655 #1656 #1657 (#1695)