]> git.notmuchmail.org Git - notmuch/commitdiff
compat: add canonicalize_file_name
authorDavid Bremner <david@tethera.net>
Mon, 27 Jan 2014 14:12:12 +0000 (10:12 -0400)
committerDavid Bremner <david@tethera.net>
Tue, 8 Apr 2014 10:27:14 +0000 (07:27 -0300)
the POSIX 2008 behaviour of realpath is not available everywhere so we
provide a simple wrapper function.  We use (and provide) the gnu
extension canonicalize_file_name to make it cleaner to test for the
feature we need; otherwise we have to rely on realpath segfaulting if
the second argument is null.


No differences found