summaryrefslogtreecommitdiff
path: root/THANKS.in
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-07-03 18:09:56 -0500
committerPaul Eggert <eggert@cs.ucla.edu>2022-07-03 18:17:41 -0500
commit40dba285721e4a83482615e40c1d7521275ccab7 (patch)
treea3b395a9f798da75de6af6e83601a27e94c1f597 /THANKS.in
parentbfdc4d6ee4811c34d8756fcca7895f5d2eed6946 (diff)
downloadsed-40dba285721e4a83482615e40c1d7521275ccab7.tar.gz
sed: fix infloop with symlink cycles
* bootstrap.conf (gnulib_modules): Add eloop-threshold, idx, minmax, readlink. * configure.ac: Do not check for lstat; no longer needed. (ENABLE_FOLLOW_SYMLINKS): Remove; all uses removed. (TEST_SYMLINKS): Depend only on readlink. * sed/utils.c: Include eloop-threshold.h, idx.h, minmax.h. (SSIZE_IDX_MAX): New macro. (follow_symlink): Rewrite to not loop when given a symlink cycle. Do not use lstat, since readlink suffices. Use just one memory buffer, not two; this simplifies memory management. * testsuite/follow-symlinks.sh: Adjust diagnostics to to match revised behavior. Test for symlink loops.
Diffstat (limited to 'THANKS.in')
0 files changed, 0 insertions, 0 deletions