minimal realpath implementation using /proc
clean and simple, but fails when the caller does not have permissions to open the file for reading or when /proc is not available. i may replace this with a full implementation later, possibly leaving this version as an optimization to use when it works.
Showing
想要评论请 注册 或 登录