Antoine Pitrou <pit...@free.fr> added the comment: The latest POSIX versions (*) allow NULL to be passed for the target memory area, meaning that realpath() will allocate as much memory as necessary by itself. This essentially does the same thing as canonicalize_file_name(), but in a standard way rather than by relying on a GNU extension.
I suppose that possibility could be checked at configure time. (*) http://pubs.opengroup.org/onlinepubs/9699919799/functions/realpath.html ---------- nosy: +pitrou stage: test needed -> needs patch versions: +Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1298813> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com