commit 842aab6a559976f15f94ded9169beca4027ea823 Author: Vladimir Lettiev Date: Tue Aug 20 14:58:00 2013 +0400 Cwd.xs: use libc realpath(3) instead of bsd_realpath() diff --git a/dist/PathTools/Cwd.xs b/dist/PathTools/Cwd.xs index 4ddbdac..4a55f5b 100644 --- a/dist/PathTools/Cwd.xs +++ b/dist/PathTools/Cwd.xs @@ -11,6 +11,9 @@ # include #endif +/* ALT: use libc realpath(3) instead of bsd_realpath() */ +#define bsd_realpath realpath +#if 0 /* The realpath() implementation from OpenBSD 3.9 to 4.2 (realpath.c 1.13) * Renamed here to bsd_realpath() to avoid library conflicts. */ @@ -218,6 +221,7 @@ bsd_realpath(const char *path, char resolved[MAXPATHLEN]) return (resolved); } #endif +#endif #ifndef SV_CWD_RETURN_UNDEF #define SV_CWD_RETURN_UNDEF \