Comment 12 for bug 120542

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 120542] Re: bzr add allows versioning of same files twice due to case-insensitive HFS+ filesystem on mac

2009/12/31 Per Johansson <email address hidden>:
> I believe the libc function (for OS X) you're looking for is
> realpath(3), though it returns the full path beginning with /.

That could be really useful. Does it in fact do this normalization,
or does it just dereference symbolic links? The manpage
<http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man3/realpath.3.html>
seems to imply the latter, but it might just be out of date.

--
Martin <http://launchpad.net/~mbp/>