https://github.com/JuliaLang/julia
Revision 178ac974b5e9f649c0ffb3ed78752dc9241b7a5a authored by Elliot Saba on 06 March 2020, 21:33:03 UTC, committed by GitHub on 06 March 2020, 21:33:03 UTC
* walkdir: avoid symlink loops when `follow_symlinks == false`

Because `isdir()` attempts to dereference symlinks, attempting to
`walkdir()` trees that contain symlink loops errors out. This change
modifies `walkdir()` to treat all symlinks as files when
`follow_symlinks == false`.

* rm: When checking `filemode()`, use `lstat()` to avoid following symlinks
1 parent 4ee9be2
History
Tip revision: 178ac974b5e9f649c0ffb3ed78752dc9241b7a5a authored by Elliot Saba on 06 March 2020, 21:33:03 UTC
walkdir: avoid symlink loops when `follow_symlinks == false` (#35006)
Tip revision: 178ac97
File Mode Size
base
contrib
deps
doc
etc
src
stdlib
test
ui
.appveyor.yml -rw-r--r-- 2.1 KB
.gitattributes -rw-r--r-- 65 bytes
.gitignore -rw-r--r-- 273 bytes
.mailmap -rw-r--r-- 11.0 KB
.travis.yml -rw-r--r-- 6.1 KB
CITATION.bib -rw-r--r-- 2.6 KB
CONTRIBUTING.md -rw-r--r-- 21.4 KB
HISTORY.md -rw-r--r-- 275.6 KB
LICENSE.md -rw-r--r-- 5.0 KB
Make.inc -rw-r--r-- 41.4 KB
Makefile -rw-r--r-- 27.1 KB
NEWS.md -rw-r--r-- 5.3 KB
README.md -rw-r--r-- 6.3 KB
VERSION -rw-r--r-- 10 bytes
sysimage.mk -rw-r--r-- 3.8 KB

README.md

back to top