real_path: set errno when max number of symlinks is exceeded
authorBrandon Williams <bmwill@google.com>
Mon, 9 Jan 2017 18:50:24 +0000 (10:50 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jan 2017 19:26:10 +0000 (11:26 -0800)
Set errno to ELOOP when the maximum number of symlinks is exceeded, as
would be done by other symlink-resolving functions.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found