Problem
On standalone Nanvix, stat() and lstat() return EINVAL for paths such as file/child, where an intermediate component is a regular file. POSIX requires ENOTDIR. This causes eight pathlib predicate tests to raise instead of returning False.
Footprint
Related: nanvix/nanvix#3101. Tracked by #371.
Problem
On standalone Nanvix,
stat()andlstat()returnEINVALfor paths such asfile/child, where an intermediate component is a regular file. POSIX requiresENOTDIR. This causes eightpathlibpredicate tests to raise instead of returningFalse.Footprint
Related: nanvix/nanvix#3101. Tracked by #371.