Message142586
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 |
|
| Date |
User |
Action |
Args |
| 2011-08-20 23:56:59 | pitrou | set | recipients:
+ pitrou, misa, spektrum, vstinner, ajaksu2, pjones, matejcik, mibanescu, BreamoreBoy |
| 2011-08-20 23:56:59 | pitrou | set | messageid: <1313884619.39.0.626799511462.issue1298813@psf.upfronthosting.co.za> |
| 2011-08-20 23:56:58 | pitrou | link | issue1298813 messages |
| 2011-08-20 23:56:58 | pitrou | create | |
|