minimal realpath implementation using /proc
authorRich Felker <dalias@aerifal.cx>
Sun, 17 Apr 2011 21:32:36 +0000 (17:32 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 17 Apr 2011 21:32:36 +0000 (17:32 -0400)
commite98bdca9df8df791fe93ec8eec920fa8d14da1f5
treea3cd1fc61d5f51911a2f67981dbd552ce42e73c9
parent2afed79f15a32e9616a27f9d327cef0cefbbaab1
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.
src/misc/realpath.c