chiark / gitweb /
util-lib: Fix chase_symlinks() with absolute symlinks (#5185)
author3chas3 <ciwillia@brocade.com>
Tue, 31 Jan 2017 13:21:15 +0000 (08:21 -0500)
committerSven Eden <yamakuzure@gmx.net>
Mon, 17 Jul 2017 15:58:36 +0000 (17:58 +0200)
If chase_symlinks() encouters an absolute symlink, it resets the todo
buffer to just the newly discovered symlink and discards any of the
remaining previous symlink path.  Regardless of whether or not the
symlink is absolute or relative, we need to preserve the remainder of
the path that has not yet been resolved.


No differences found