aboutsummaryrefslogtreecommitdiff
path: root/compat/have_canonicalize_file_name.c
AgeCommit message (Collapse)Author
2019-06-14compat: run uncrustifyuncrustify
This is the result of running $ uncrustify --replace --config ../devel/uncrustify.cfg *.c *.h in the compat directory
2014-04-08compat: add canonicalize_file_nameDavid Bremner
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.