diff options
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r-- | winsup/cygwin/path.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 29a006540..43ca6eeea 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -907,7 +907,7 @@ virtual_component_retry: } /* Arrive here if above loop detected a symlink. */ - if (++loop > MAX_LINK_DEPTH) + if (++loop > SYMLOOP_MAX) { error = ELOOP; // Eep. return; |