mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 11:05:06 +00:00
std::unix::fs::get_path: using fcntl codepath for netbsd instead. on netbsd, procfs is not as central as on linux/solaris thus can be perfectly not mounted. Thus using fcntl with F_GETPATH, the kernel deals with MAXPATHLEN internally too.