bpo-38353: Add subfunctions to getpath.c (GH-16572)
Following symbolic links is now limited to 40 attempts, just to prevent loops. Add subfunctions: * Add resolve_symlinks() * Add calculate_argv0_path_framework() * Add calculate_which() * Add calculate_program_macos() Fix also _Py_wreadlink(): readlink() result type is Py_ssize_t, not int.
V
Victor Stinner committed
03a8a56faca0c1851051269e3517d70cbce830b7
Parent: e982d8b
Committed by GitHub <noreply@github.com>
on 10/4/2019, 12:22:39 AM