diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-01-18 15:12:16 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-18 15:12:16 -0800 |
commit | 1c16df23b19e8d37d896e68c92d8341d6e60b4dc (patch) | |
tree | d7e0ab46f28e103de500cee9d6edbb987bd40a96 /connected.c | |
parent | Merge branch 'jk/execv-dashed-external' (diff) | |
parent | real_path: set errno when max number of symlinks is exceeded (diff) | |
download | tgif-1c16df23b19e8d37d896e68c92d8341d6e60b4dc.tar.xz |
Merge branch 'bw/realpath-wo-chdir'
The implementation of "real_path()" was to go there with chdir(2)
and call getcwd(3), but this obviously wouldn't be usable in a
threaded environment. Rewrite it to manually resolve relative
paths including symbolic links in path components.
* bw/realpath-wo-chdir:
real_path: set errno when max number of symlinks is exceeded
real_path: prevent redefinition of MAXSYMLINKS
Diffstat (limited to 'connected.c')
0 files changed, 0 insertions, 0 deletions